update_traffic_rule
Update an existing UniFi traffic rule by ID, patching only supplied fields to change its action, matching target, or enabled state.
Instructions
Update an existing traffic rule by id. Pass any subset of fields to patch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The _id of the traffic rule to update | |
| payload | Yes | Partial rule fields to update (description, action, matching_target, enabled, target_*_ids, etc.) |