Set custom domain
set_custom_domainRequires sign-in (scope orgs:manage). Register a custom domain for the tenant. The answer carries the CNAME the customer must create; the domain serves sign-in once its status is active.
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": {
"tenant": "<tenant>",
"hostname": "<hostname>"
},
"name": "set_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant | Yes | tenant slug | |
| hostname | Yes | fully qualified domain name, for example id.example.com |
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. |