Policy Delete

DELETE /pcas/v3/policy/

With this API, you can delete compliance policies and its postures. All details such as its exceptions and its posture are deleted.


- The delete method can be executed by the Manager and Auditor users only.
- Only one policy can be deleted at a time.

Input ParametersInput Parameters

Parameter

Required/Optional

Data Type

Description

policyId={value} Required Integer The ID of the policy you want to delete.

Sample - Delete policySample - Delete policy

API Request

curl --location --request DELETE 
'https://<qualys_base_url>/pcas/v3/policy?policyId=<policy_id>' \
--header 'accept: */*' \
--header 'Authorization: Bearer <Bearer Token>'

XML Output

204


 

 

 

success Thank you! We're glad to hear that this topic was useful.
success We appreciate your feedback. We'll work to make this topic better for you in the future.