Get Service Proxy Configuration
Retrieves the current HCX Service Proxy configuration. The service proxy is used in air-gapped or restricted network environments (e.g., FedRamp) where the HCX Manager needs to communicate with HCX Cloud services through a designated proxy endpoint.
Successfully retrieved service proxy configuration
{
"data": {
"items": [
{
"section": "hcxServiceProxy",
"config": {
"url": "https://hcx-proxy.customer.com",
"UUID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
]
}
}
data
Service proxy not configured
{
"isSuccess": false,
"message": "Section hcxServiceProxy not found",
"httpStatusCode": 404
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
Method not allowed - feature only available on HCX-Connector
{
"isSuccess": false,
"message": "HCX Service Proxy feature is available only for the HCX-Connector.",
"httpStatusCode": 405
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
Internal server error
{
"isSuccess": false,
"message": "Error retrieving service proxy configuration",
"httpStatusCode": 500
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
curl -H 'Authorization: <value>' https://{api_host}/api/admin/global/config/serviceProxy