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
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
System Configuration Operations
GET
Get Nsp Configuration
Deprecated
POST
Create Nsp Configuration
Deprecated
PUT
Update Nsp Configuration
Deprecated
GET
Get Static Routes
PUT
Configure Static Route
GET
Get Network Settings
PUT
Configure Dns Settings
DELETE
Remove Dns Settings
GET
Get Time Settings
PUT
Configure Time Settings
DELETE
Remove Ntp Settings
PUT
Change Appliance Password
GET
Get Apache Proxy Configuration
Deprecated
POST
Configure Apache Proxy
Deprecated