Delete Worker Domain
delete_worker_domainDetach a custom domain from a Cloudflare Worker so its hostname stops routing to the Worker and its previews. Use the domain attachment ID from list_worker_domains.
Instructions
Detach a custom domain from its Worker. The hostname stops routing to the Worker (and its previews).
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": {
"domain_id": "<domain_id>"
},
"name": "delete_worker_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | Domain attachment ID (from list_worker_domains) |