Delete a tenant
delete_tenantDelete a tenant.
Fails with 422 while the tenant still has domains; delete those first.
Requires a full_access API key. API: DELETE /tenants/{ref} (operationId deleteTenant, Tenants).
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": {
"ref": "<ref>"
},
"name": "delete_tenant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The tenant id or your own `external_id`. |