move_firewall_rule
Reorder a firewall rule relative to another rule by ID, avoiding position-based errors when the list has shifted. Place it before another rule or move it to the end.
Instructions
Reorder a firewall rule relative to another rule.
Both ends are given by id rather than position, so the move means the
same thing even if the list shifted since you last read it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | The 'id' of the rule to move. | |
| before_rule_id | No | The 'id' of the rule to place it in front of. Omit to move it to the end of the list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |