Validate Connection
If there is no explicit and valid vcInstanceId in the connection spec, no vCenter Server validation will be done. Only the infra node will be validated.
The connection specification to be validated.
{
"credentials": {
"admin_user": "string",
"admin_password": "string"
},
"connection_spec": {
"psc_uri": "string",
"psc_thumbprint": "string",
"vc_instance_id": "string",
"vc_thumbprint": "string"
}
}
The connection is validated successfully.
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id
Internal server error - unexpected condition prevents fulfilling the request
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
error_code
message
op_id