Policy
Delete Policy
POST
cURL
Delete a Policy by ID. This performs a soft delete — the Policy is no longer evaluated and is archived.
This endpoint is available only for API version
2026-06-01. Send whitecircle-version: 2026-06-01.Authorizations
API Key required. Format: Bearer wc-your-api-key
Headers
API Version
Body
application/json
Response
Success
Available options:
session, artifact, any Example:
"session"
Role restriction used by the new policy targeting model. Empty role lists mean any role.
Available options:
user, assistant Available options:
input, output, any Example:
"input"
Available options:
prod, shadow Example:
"prod"
Required range:
x >= 0Available options:
active, inactive, draft Example:
"active"
