delete_firewall_rule
Permanently delete a legacy UniFi firewall rule from the controller. Provide the rule ID and set confirm=True to remove it.
Instructions
Delete a legacy firewall rule. Requires confirm=True.
Mutating operation: permanently removes the rule from the controller.
Args: rule_id: Firewall rule ID (from get_firewall_rules) confirm: Must be True to actually delete site: Site to operate on. Defaults to "default". device: Optional console name to target a specific console; omit for default.
Returns: Deletion status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site to operate on. Defaults to "default". | default |
| device | No | Optional console name to target a specific UniFi device; omit for default. | |
| confirm | No | Must be True to actually delete. | |
| rule_id | Yes | Firewall rule ID (from get_firewall_rules). |