unifi_gen_patchfirewallpolicy
unifi_gen_patchfirewallpolicyUpdates an existing UniFi firewall policy by ID, with optional dry-run preview and a confirmation flag to apply changes safely.
Instructions
Patch Firewall Policy - generated from developer.ui.com/network/v11.0.97/patchfirewallpolicy
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. | |
| firewallPolicyId | Yes |