Skip to main content
DELETE
/
v1
/
legal
/
{type}
Delete legal content for a type
curl --request DELETE \
  --url https://{host}/v2/workspaces/slug:ai-governance-v2/webhooks/v1/legal/{type} \
  --header 'Authorization: Bearer <token>'
{
  "type": "<string>",
  "orgSlug": "<string>",
  "deleted": true
}

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. Org API keys (iak_*) are not accepted here - they carry no user identity. Use the x-prismeai-api-key header instead (see OrgApiKeyAuth).

Path Parameters

type
string
required

Legal document type slug (e.g. cgu, privacy-policy, secure-chat).

Maximum string length: 64
Pattern: ^[a-z0-9-]+$

Response

Legal document deleted.

type
string
orgSlug
string
deleted
boolean