delete_dns_subdomain
Permanently delete a DNS subdomain by ID from a Hostkey server. Requires pdns/edit permission and explicit confirmation.
Instructions
Delete a subdomain from the subdomains table (pdns/delete_subdomain). DESTRUCTIVE. Requires pdns/edit permission.
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": {
"server_id": "<server_id>",
"id": "<id>",
"confirm": "<confirm>"
},
"name": "delete_dns_subdomain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Subdomain ID | |
| confirm | Yes | Must be true to run the operation. | |
| server_id | Yes | Server ID |