DELETE /v1beta1/policies/
Permanently delete a policy. This removes the role assignment from the principal on the specified resource.Path Parameters
Unique identifier (UUID) of the policy to delete.
Response
Returns an empty response with HTTP 200 status code on successful deletion.Response Example
Error Responses
Error code. Possible values:
not_found- Policy not found (invalid ID or policy doesn’t exist)invalid_argument- Invalid request parameters or policy detailsalready_exists- Conflict error (policy cannot be deleted due to constraints)internal- Internal server error
Human-readable error message.
Error Examples
Notes
- The policy ID must be a valid UUID
- Deleting a policy is permanent and cannot be undone
- Deleting a policy removes the role assignment from the principal on the resource
- An audit event (
policy.deleted) is generated when a policy is successfully deleted - Returns a 404 error if the policy doesn’t exist or the ID is invalid
- Returns a conflict error if the policy cannot be deleted due to system constraints