Delete a policy with the REST API
To delete a policy and assign the default policy to affected applications, send the following request:
http --auth-type=veracode_hmac DELETE “https://api.veracode.com/appsec/v1/policies/{policyGuid}?replacement_GUID={replacement_GUID}”
To delete a policy and assign the default policy to affected applications, send the following request:
http --auth-type=veracode_hmac DELETE “https://api.veracode.com/appsec/v1/policies/{policyGuid}?replace_with_default_policy=true”