Delete Static Route (v2.2)
DELETE/v2.2/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/staticroutes/:static_route_id
Delete a static route.
Request
Path Parameters
ID of the tenant.
The ID of the site.
The ID of the element.
The ID of the static route.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The static route address family.
The description of the static route. Max size = 256.
The IPv4 or IPv6 address mask for next hop Destination Prefix (IPv4 or IPv6).
The ID of the static route.
The name of the static route.
The ID of the network context.
The Next Hop Reachability Probe is enabled.
nexthops NextHop[]required
The details of the next hops configured on the static route.
The admin distance for a specific route. The default value for admin distance is 1.
The next hop interface ID.
The next hop IPv4 address.
Set to True to indicate that traffic is destined for the ION device. By default, Self is set to False.
Possible values: [GLOBAL
, LOCAL
]
The scope of the static route = Local or Global. If scope is local, the device does not advertise the route to other sites and if scope is global, the device advertises the route to other sites.
A information field that can be added to identify the static route. Maximum 10 unique tags of length 1024 each are allowed.
{
"address_family": "string",
"destination_prefix": "string",
"id": "string",
"name": "string",
"network_context_id": "string",
"nexthop_reachability_probe": true,
"nexthops": [
{
"admin_distance": 0,
"nexthop_interface_id": "string",
"nexthop_ip": "string",
"self": true
}
],
"scope": "GLOBAL",
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "STATICROUTE_CONFIG_INVALID_DEVICE"
}
]
}
}