Delete policy
Delete a policy. A policy cannot be deleted while any project is assigned to it — reassign those projects first.
Authentication
AuthorizationBearer
Bearer authentication using API key. Generate an API key from the AI Guardrails Dashboard. Example: Bearer sk_123…
Path parameters
policyId
Response
Policy deleted
status
Response status
message
Human-readable response message
id
Policy ID
Errors
403
Forbidden Error
404
Not Found Error
409
Conflict Error