Delete a Security Policy

Deletes a specific policy. Note that you can only delete a policy that is not currently associated with any instrumented images/containers.

DELETE/csapi/v1.3/runtime/policies/{policyId}

Input ParametersInput Parameters

Parameter Mandatory/Optional Data Type Description

policyId

Mandatory string

Specify the ID of the policy to delete.

SampleSample

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?

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.