Test Access Token And Proxy
Testing access token and proxy (if any).
Testing cloud connectivity with a given access token (from the VCF Business Services Console) and proxy configuration (if applicable). This is the second step in initialization wizard flow step after accepting data usage.
Show optional properties
{
"type": "string",
"accessToken": "string"
}
{
"type": "string",
"accessToken": "string",
"host": "string",
"port": 0,
"user": "string",
"password": "string"
}
Type of the proxy. Select none for direct communication with the cloud.
Access Token from the current agent registration process from VCF Business Services console.
Proxy's host.
Proxy's port.
Proxy's username if authentication is required.
Proxy's password if authentication is required.
Response from testing the access token using proxy details.
{
"test_result": false,
"message": "string",
"error_code": "string"
}
Whether or not connection to cloud was successful with the provided access token and proxy details (if any).
Optional message to the result
HTTP error status code from testing the cloud connection with the provided access token and proxy details (if any).
Generic Bad Request error response.
{
"messages": [
{
"key": "string",
"message": "string"
}
]
}
Collection of error messages.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"type":"string","accessToken":"string"}' https://{api_host}/api/v1/test_proxy