update_static_route
Update a pfSense static route by its ID to change network, gateway, description, or disabled state, and optionally apply the changes right away.
Instructions
Update an existing static route by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| descr | No | Description | |
| gateway | No | Gateway name to route through | |
| network | No | Destination network in CIDR notation | |
| disabled | No | Whether the route is disabled | |
| route_id | Yes | Static route ID (from search_static_routes) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||