Policy > Networking > Connectivity > Tier-0 Gateways > Routing > Static Routes

Create or update a Tier-0 static routes

If static routes for route-id are not already present, create
static routes. If it already exists, update static routes for route-id.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/static-routes/{route-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
StaticRoutes+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/static-routes/site1 { "network": "45.1.1.0/24", "next_hops": [ { "ip_address": "41.1.1.1", "admin_distance": 1 }, { "ip_address": "42.1.1.1", "admin_distance": 2 }, { "ip_address": "43.1.2.3", "admin_distance": 3 } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: