Update ACL Rule
unifi_update_acl_ruleReplace an existing UniFi ACL rule by fetching its current configuration, modifying it, and writing the full updated rule via PUT; confirm switching-level access impact before applying.
Instructions
Replace an ACL rule (full PUT). Fetch the current rule via unifi_get_acl_rule, modify, and pass as 'config'. CAUTION: changes switching-level access; confirm with the user. IDs come from unifi_list_acl_rules.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"aclRuleId": "<aclRuleId>",
"config": "<config>"
},
"name": "unifi_update_acl_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Full ACL rule object to write (fetch current via unifi_get_acl_rule, then modify). A config with any value still containing "[redacted]" (how reads show credentials) is refused: put the real value in, or leave the field out. | |
| siteId | No | Site ID (UUID from unifi_list_sites). Optional — when the console has exactly one site it is used automatically. | |
| aclRuleId | Yes | ACL rule ID (UUID from unifi_list_acl_rules) |