Skip to main content

Delete a Policy with the REST API

Send the following request to delete a policy and replace it with another policy for the affected applications:

http --auth-type=veracode_hmac DELETE “https://api.veracode.com/appsec/v1/policies/{policyGuid}?replacement_GUID={replacement_GUID}”   

Send the following request to delete a policy and replace it with a default policy for the affected applications:

http --auth-type=veracode_hmac DELETE “https://api.veracode.com/appsec/v1/policies/{policyGuid}?replace_with_default_policy=true”