configuration /
network
CLI REST-API
static-routes
The submenu static-routes (static routes) contains the following:
Menus:
definitions (definitions)
Objects:
routes-enabled (routes enabled)
Commands:
add-route (adds a static route)
delete-route (deletes a static route)
See also:
/configuration/network/static-routes/definitions: definitions
/configuration/network/static-routes/routes-enabled: routes enabled
/configuration/network/static-routes/add-route: adds a static route
/configuration/network/static-routes/delete-route: deletes a static route
REST-API Support:
This menu is supported by the REST API:
Method: GET
URL: /api/configuration/network/static-routes
Example using curl:
curl /api/configuration/network/static-routes
Method: PATCH
URL: /api/configuration/network/static-routes
Body:
{
\"objects\": \"new-values\"
}
Example using curl:
curl -X PATCH /api/configuration/network/static-routes
-d "{
\"objects\": \"new-values\"
}"
Method: POST
URL: /api/configuration/network/static-routes
Body:
{
\"objects\": \"new-values\"
}
Example using curl:
curl -X POST /api/configuration/network/static-routes
-d "{
\"objects\": \"new-values\"
}"