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.
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}
On This Page
Policies Operations
PUT
Unassign Policy
PUT
Assign Policy
PUT
Update Priorities
PUT
Set Default Policy
GET
Get Policies
POST
Create Policy
POST
Import Policies
POST
Apply Policy
GET
Get Policy Settings
DELETE
Delete Policy Settings
PATCH
Patch Policy Settings
GET
Export Policies
DELETE
Delete Policy