PUT Vsphere UUID Hosts Esxi Host
Update ESXi host configuration with the specified UUID in the specified vCenter Server.
Hostname of ESXi host
vCenter Server UUID
Show optional properties
{
"configure": false
}
{
"configure": true,
"syslogProtocol": "TCP"
}
Indicates whether to configure the ESXi host or remove configuration.
Syslog protocol used for configuring ESXi hosts. Default protocol is UDP.
Successfully updated ESXI host configuration.
The request failed because the request body either did not contain valid JSON, or did not match the required JSON format.
{
"errorMessage": "Invalid request body.",
"errorCode": "JSON_FORMAT_ERROR",
"errorDetails": {
"reason": "..."
}
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
Specified ESXi host is not available under specified vSphere instance.
Configuration with specified vCenter Server UUID does not exist.
Internal error while processing the client request
{
"errorMessage": "The operation failed due to an internal error."
}
A message describing the error.
A code representing the type of error.
Dynamic error details, where the field name can vary depending on the request field and error code.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"configure:"boolean"}' https://{api_host}/api/v2/vsphere/{UUID}/hosts/{esxiHost}