update_gateway
Update an existing pfSense routing gateway by ID, modifying settings like IP, interface, monitor, or weight. Apply changes immediately or defer.
Instructions
Update an existing routing gateway by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Gateway name | |
| descr | No | Description | |
| weight | No | Gateway weight for load balancing (1-30) | |
| gateway | No | Gateway IP address | |
| monitor | No | Monitor IP address | |
| disabled | No | Whether the gateway is disabled | |
| interface | No | Interface for the gateway | |
| gateway_id | Yes | Gateway ID (from search_gateways) | |
| ipprotocol | No | IP protocol version (inet or inet6) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||