PATCH Vsphere UUID Hosts Batch
Batch configure/unconfigure ESXi hosts in case when automatic configuration is disabled and specific hosts are selected.
vCenter Server UUID
Show optional properties
{
"configure": false,
"esxiHosts": [
{}
]
}
{
"configure": true,
"syslogProtocol": "TCP",
"esxiHosts": [
"example-esxi-hostname",
"example-esxi-hostname1"
]
}
Indicates whether to configure the ESXi hosts or remove configuration.
Syslog protocol used for configuring ESXi hosts. Default protocol is UDP.
ESXi host names whose configuration will be updated
Successfully updated specified ESXi host configurations
Partial success - not all configurations are updated successfully
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.
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 PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"configure:"boolean","esxiHosts":["string"]}'