patch_firewall_policy
Update specific fields of an existing UniFi firewall policy by providing its ID, host, and site.
Instructions
Partially update a firewall policy by ID.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID.
fields: fields to update on the policy.
policy_id: REQUIRED. The policy's id; obtain it from list_firewall_policies (its id field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| fields | Yes | ||
| policy_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||