Create tenant in an organization
create_org_tenantRequires sign-in (scope orgs:manage). Create a tenant under the organization. Its name (the slug in .) is assigned: seven random characters, returned in the result with the issuer URL; do not pass slug (only the platform token may). Limited by the organization plan: a trial allows a few tenants and no custom domain.
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": "create_org_tenant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | organization slug | |
| name | No | display name | |
| slug | No | short name in lower case letters, digits and hyphens | |
| tags | No | free labels to group items (for example the app or environment) | |
| locked | No | true locks the tenant against deletion, false unlocks it | |
| branding | No | branding fields (display name, colours, wording); null clears a field | |
| providers | No | sign-in provider keys enabled for the tenant | |
| customDomain | No | custom domain host name for the tenant (a subdomain of your own domain); optional |
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. |