With this API, you can delete a control within a section of a compliance policy.
|
Parameter |
Required/Optional |
Data Type |
Description |
|---|---|---|---|
| policyId={value} | Required | Integer | Enter the ID of the policy from which you want to delete a control within a section. |
| sectionNumber={value} | Required | Integer | Enter the section number for which you want to remove a control. |
| controlId={value} | Required | Integer | Enter the ID of the control that needs to be removed from a particular section of the policy. |
API Request
curl -X 'DELETE' \'<qualys_base_url>/pcas/v3/policy/section/control?policyId=<PolicyID>§ionNumber=<SectionNumber>&controlId=<ControlID>'
\ -H 'accept: */*'
\ -H 'Authorization: Bearer <Auth Token>'
XML Output
204