Skip to main content

Delete policies for one capability

DELETE 

/v1/admin/clients/:slug/policies/:capabilityKey

Closes every open policy row for (client, capability). No row is ever removed — the policies are logically closed (audit history is preserved).

Not idempotent: re-deleting an already-closed policy returns 404 (CRT004001) to surface accidental loops. If you want to confirm a policy is gone, use GET instead of repeating DELETE.

Request

Responses

Policies closed successfully