Update Vcenter Configuration
Updates an existing vCenter configuration identified by UUID. Validates the new configuration before applying changes. Triggers license discovery job upon successful update.
The UUID of the vCenter configuration to update
a1b2c3d4-e5f6-7890-abcd-ef1234567890
{
"data": {
"items": [
{
"config": {
"UUID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"url": "https://vcenter.example.com",
"userName": "[email protected]",
"password": "VGVzdFBhc3N3b3JkMTIzIQ=="
}
}
]
}
}
data
vCenter configuration updated successfully
{
"data": {
"items": [
{
"section": "vcenter",
"config": {
"userName": "[email protected]",
"url": "https://vcenter.example.com",
"vcuuid": "52a3f5d7-8b9c-4e1d-a2f3-6b8c9d0e1f2a",
"buildNumber": "20845200",
"UUID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"version": "8.0.2",
"name": "vCenter Server"
}
}
]
}
}
data
Bad request - validation failed or SSL certificate error
{
"isSuccess": false,
"message": "Request schema validation failed",
"httpStatusCode": 400
}
Configuration not found
{
"isSuccess": false,
"message": "Failed modify item: a1b2c3d4-e5f6-7890-abcd-ef1234567890, section: vcenter. Config does not exists.",
"httpStatusCode": 404
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
Internal server error - update failed
{
"isSuccess": false,
"message": "Unable to update vCenter configuration",
"httpStatusCode": 500
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/admin/global/config/vcenter/{uuid}