Delete DNS Record / Policy
unifi_delete_dns_policyDelete a local DNS record or forward-domain policy by policy ID; confirm before use because it is irreversible. Retrieve IDs from the DNS policy list.
Instructions
Delete a local DNS record / forward-domain policy. CAUTION: irreversible; confirm with the user. IDs come from unifi_list_dns_policies.
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": {
"dnsPolicyId": "<dnsPolicyId>"
},
"name": "unifi_delete_dns_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| dnsPolicyId | Yes | DNS policy ID (UUID from unifi_list_dns_policies) |