unifi_gen_creatednspolicy
unifi_gen_creatednspolicyCreates a UniFi DNS policy from a JSON body, with optional preview or confirmation before applying.
Instructions
Create DNS Policy - generated from developer.ui.com/network/v11.0.97/creatednspolicy
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, sent as is. Top-level vendor fields only; full schema: vendor docs page in the description. The API requires a body. | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. |