Get Static Routes

Get Static Routes
Get Static Routes

Retrieves the list of configured static routes on the HCX Manager appliance. These static routes are used to direct network traffic to specific destinations through custom gateways.

Request
URI
GET
https://{server}:9443/system/network/staticroutes
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

Static routes retrieved successfully

Returns SystemNetworkStaticRoutesGetResponse200 of type(s) application/json
[
    {
        "static_network": "string",
        "static_prefix": "string",
        "static_gateway_ip": "string"
    }
]
array of object
Optional

500

Internal server error while retrieving static routes

Returns ErrorResponse of type(s) application/json
{
    "isSuccess": false,
    "message": "Request schema validation failed",
    "httpStatusCode": 400
}
boolean
isSuccess
Required

Indicates if the operation was successful

string
message
Required

Human-readable error message

integer
httpStatusCode
Required

HTTP status code


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/system/network/staticroutes