update_static_route
Modify an existing static route's destination, gateway, or other settings on a FortiGate device. Apply updated route configuration using device ID and route ID for precise network changes.
Instructions
Update an existing static route on a FortiGate device.
This tool modifies the configuration of an existing static route, allowing changes to destination, gateway, or other settings.
Parameters:
device_id: Identifier of the FortiGate device
route_id: ID of the route to update
route_data: Updated configuration as JSON
vdom: Virtual Domain name (optional, uses device default)
Returns:
Update status
Configuration changes applied
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| route_id | Yes | Route identifier | |
| device_id | Yes | FortiGate device identifier | |
| route_data | Yes | Route configuration |