Detach a custom domain
remove_custom_domainDetach a custom domain from a site. The site itself is unaffected and keeps serving on its platform subdomain (e.g. {name}.subsite.site).
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": {
"siteName": "<siteName>"
},
"name": "remove_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | The custom domain to remove, e.g. 'shop.example.com'. Provide this or recordId. | |
| recordId | No | The recordId returned by add_custom_domain or list_custom_domains. Provide this or domain. | |
| siteName | Yes | The site to detach the domain from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| removed | Yes |