Remove a custom domain
websiteDomains_removeCustomDomainDeregisters the hostname from the Cactal edge and deletes the domain record. If the removed domain was primary, the oldest remaining active custom domain is promoted automatically. If edge deregistration fails, the domain stays in removing status and a background sweep retries until it is gone. Platform subdomains cannot be removed.
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": {
"websiteId": "<websiteId>",
"domainId": "<domainId>"
},
"name": "websiteDomains_removeCustomDomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainId | Yes | ||
| websiteId | Yes |