Deletes a specific policy. Note that you can only delete a policy that is not currently associated with any instrumented images/containers.
Parameter | Mandatory/Optional | Data Type | Description |
---|---|---|---|
policyId |
Mandatory | string |
Specify the ID of the policy to delete. |
API request
curl -X DELETE
--header "Accept: text/plain"
--header "Authorization:Basic VVNFUk5BTUU6UEFTU1dPUkQ="
"<qualys_base_url>/csapi/v1.3/runtime/policies/5fa97660f19b060001e8ab6f"
Response
Response code 200
Was this topic helpful?