Skip to main content
DELETE
Python (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Query Parameters

team_id
string

Target team whose policy to delete. Omit to delete the org-wide policy (org admin only). Non-admin callers may only target their own team.

Minimum string length: 1

Response

200 - application/json

OK

object
any
required
deleted
boolean
required

Whether a policy row was deleted

team_id
string | null
required

Team the deleted policy targeted; null for the org-wide policy