pve_firewall_rule_update
Update an existing firewall rule at a specific position. Dry-run first shows changes and optimistic-lock digest; confirm with digest to prevent concurrent updates.
Instructions
MUTATION: update an existing firewall rule at position pos. Dry-run by default — the PLAN
shows the rule's current state, the fields being changed, AND the optimistic-lock digest. Pass the
digest from the plan back as digest= on confirm so PVE rejects the update if the rule list moved
since the preview (positions shift and the wrong rule can be updated otherwise). Synchronous.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos | Yes | ||
| dest | No | ||
| kind | No | ||
| node | No | ||
| vmid | No | ||
| dport | No | ||
| proto | No | ||
| scope | No | cluster | |
| sport | No | ||
| action | No | ||
| digest | No | ||
| enable | No | ||
| source | No | ||
| comment | No | ||
| confirm | No | ||
| direction | No | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |