Create Service Proxy Configuration
Configures the HCX Service Proxy endpoint for air-gapped or restricted network environments. This proxy endpoint enables communication between the HCX Manager and HCX Cloud services.
Show optional properties
{
"data": {
"items": [
{
"config": {
"url": "https://hcx-proxy.customer.com"
}
}
]
}
}
{
"data": {
"items": [
{
"config": {
"url": "https://hcx-proxy.customer.com",
"UUID": "string"
}
}
]
}
}
data
Service proxy configured successfully
{
"data": {
"items": [
{
"section": "hcxServiceProxy",
"config": {
"url": "https://hcx-proxy.customer.com",
"UUID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}
]
}
}
data
Bad request - invalid URL or configuration
{
"isSuccess": false,
"message": "Invalid service proxy URL. Must be HTTPS.",
"httpStatusCode": 400
}
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 while configuring service proxy
{
"isSuccess": false,
"message": "Error configuring service proxy",
"httpStatusCode": 500
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"data":"object"}' https://{api_host}/api/admin/global/config/serviceProxy