update_traffic_rule
Update an existing UniFi traffic rule by specifying its ID, host, and site, then provide the fields to modify. Apply targeted changes without recreating the rule.
Instructions
Update a traffic rule by ID.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. rule_id: traffic rule ID. payload: fields to update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| payload | Yes | ||
| rule_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||