unifi_update_firewall_rule
Updates a UniFi firewall rule by merging specified changes (enabled, action, name) with its current state using rule ID and optional site ID.
Instructions
Update a firewall rule by its _id. Fetches current state and merges your changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | ||
| site_id | No | default | |
| enabled | No | ||
| action | No | ||
| name | No |