Skip to main content
DELETE
Delete a policy and all of its versions. This operation is irreversible.
Policies cannot be deleted while they are in use by any agent. You must first unlink all agents from the policy before deleting it.

Path Parameters

Query Parameters

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Query Parameters

organization_id
string<uuid>

Organization ID. This is required for access control. It can be provided via query or request body depending on the endpoint.

Response

Policy deleted successfully.