Delete organization
delete_orgRequires sign-in (scope orgs:admin). Delete the organization with its members, service accounts and tokens. Refused while it still has tenants: delete them first. This cannot be undone. Destructive: needs the owner, the orgs:admin scope and an emailed confirmation. The initial request answers confirmation_required with a confirmation_id and mails a 6-digit code to the owner; the person reads the code from their mailbox (this connection cannot) and the request is repeated with the same arguments plus confirmation_id and code.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"org": "<org>"
},
"name": "delete_org"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | organization slug | |
| code | No | the 6-digit code the person received by email (ask them; you cannot read it) | |
| resend | No | true (without code) asks for a new code | |
| confirmation_id | No | from the confirmation_required answer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return. |