Enable or disable a subdomain
toggle_subdomainEnable or disable a subdomain. Disabling removes its DNS records so it stops resolving (config is kept); enabling re-creates them. The per-tier subdomain limit counts only enabled subdomains.
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": {
"subdomain_id": "<subdomain_id>",
"enabled": "<enabled>"
},
"name": "toggle_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | True to enable the subdomain, false to disable it | |
| subdomain_id | Yes | Subdomain ID |