Detach domain
detach_domainRemoves a custom domain from a site at once; the site goes back to its platform address (the url get_site answers), republished so its links say so. Nothing is deleted; the domain is free to attach again, here or anywhere. The answer names the two DNS records to remove.
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": {
"siteId": "<siteId>",
"domain": "<domain>"
},
"name": "detach_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The attached hostname to remove | |
| siteId | Yes | Site id (from list_sites) |