Skip to main content
POST
/
admin
/
tenants
/
{tenant_id}
/
block
Block Tenant
curl --request POST \
  --url https://api.example.com/admin/tenants/{tenant_id}/block \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "blocked": true,
  "reason": "<string>",
  "block_services": [
    "calls",
    "agents"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tenant_id
string<uuid>
required

Body

application/json

Request to block/unblock a tenant.

blocked
boolean
required

True to block, False to unblock

reason
string | null

Reason for blocking

block_services
string[]

Services to block: calls, agents, sip, recordings, analytics

Response

Successful Response