Delete Policy

Delete Policy

Delete the policy for the specified identifier included descendants if requested

Request
URI
DELETE
https://{api_host}/suite-api/api/policies/{id}
COPY
Path Parameters
string
id
Required

Policy identifier to delete

Query Parameters
boolean
deleteDescendants
Optional

True to delete all policies including descendants.


Authentication
This operation uses the following authentication methods.
Responses
204

The policy is deleted successfully

Operation doesn't return any data structure

404

The policy being deleted is invalid/non-existent

Operation doesn't return any data structure

409

Cannot deleted policy due to existing descendant policies. Use 'deleteDescendants' to delete also all descendants

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X DELETE -H 'Authorization: <value>' https://{api_host}/suite-api/api/policies/{id}