Skip to main content
DELETE
Python (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

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