VPS_updateFirewallRuleV1
Update a specific firewall rule by providing rule ID, protocol, port, and source. Note that VMs using the firewall will lose sync and need manual resync.
Instructions
Update a specific firewall rule from a specified firewall.
Any virtual machine that has this firewall activated will lose sync with the firewall and will have to be synced again manually.
Use this endpoint to modify existing firewall rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| firewallId | Yes | Firewall ID | |
| ruleId | Yes | Firewall Rule ID | |
| protocol | Yes | protocol parameter | |
| port | Yes | Port or port range, ex: 1024:2048 | |
| source | Yes | source parameter | |
| source_detail | Yes | IP range, CIDR, single IP or `any` |