Skip to navigation

Delete Policy

Beta

Delete a Policy.

Restrictions

  • Only data policies can be deleted; requests targeting other policy types return a 404.
  • A policy that is one of the tenant’s default policies cannot be deleted.
  • A policy that is currently used in permissions cannot be deleted.

Authentication

AuthorizationBearer

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

Path parameters

policy_idstringRequired
ID of the Policy.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Errors

400
Policy Delete Request Bad Request Error
403
Policy Delete Request Forbidden Error
404
Policy Delete Request Not Found Error
409
Policy Delete Request Conflict Error
429
Policy Delete Request Too Many Requests Error
500
Policy Delete Request Internal Server Error