Skip to main content
DELETE
Delete a PII redaction policy
Deletes the policy.
Clear pii_redact_policy_id on every agent that references this policy first. An agent pointing at a policy that no longer exists is refused with 503, code pii_policy_unavailable, on every request — deliberately: serving it would mean forwarding prompts with the redaction the operator configured silently absent.
Requires the delete capability on ai_gateway. See the control-plane overview for authentication, the {data, meta} envelope, pagination and error types.

Authorizations

Authorization
string
header
required

OAuth 2.1 authentication — recommended for new integrations. Access tokens (kc_ prefix) are minted at the root-host token endpoint https://api.knoxcall.com/oauth/token and passed as Authorization: Bearer <access_token>. Public clients must use PKCE with the authorization_code grant; confidential clients may use client_credentials. The first-party SDKs and the knoxcall login CLI handle token minting, caching, refresh, and DPoP for you.

Path Parameters

id
string<uuid>
required

Response

Deleted.

data
object
meta
object

Metadata included with every API response.