delete_dns_policy
Remove an existing DNS policy from a UniFi site by providing host, site, and policy ID. Simplifies DNS rule management through the UniFi Fabric API.
Instructions
Delete a DNS policy.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.
policy_id: REQUIRED. The policy's id; obtain it from list_dns_policies (its id field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| policy_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |