set_firewall_rule_enabled
Toggle a single MikroTik firewall rule on or off without changing its position. Use to test if a rule is responsible for an issue by disabling it temporarily, then re-enabling as needed.
Instructions
Enable or disable one firewall rule, leaving its position intact.
Disabling is the reversible way to test whether a rule is responsible for something — prefer it over removing the rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| rule_id | Yes | The rule 'id' from list_firewall_rules, e.g. '*7'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |