unifi_delete_dns_policy
Delete a UniFi DNS policy by ID or domain, previewing candidate records and requiring confirm: true before removal.
Instructions
Delete a DNS policy (found by id or domain; several records for one domain come back as candidates). Always needs confirm: true; without it the tool 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": {
"dnsPolicy": "<dnsPolicy>"
},
"name": "unifi_delete_dns_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site name, id or reference; optional while the console has a single site | |
| confirm | No | Must be true to carry out a guarded change; without it the tool only previews it | |
| dnsPolicy | Yes | DNS policy id, or its domain |