Update Vcenter
Update a vcenter.
Request
URI
PUT
https://{api_host}/vcenters/{name}
COPY
Path Parameters
string
name
Required
The name of the vcenter
Request Body
The vcenter to submit.
vcenter
of type(s)
application/json
Optional
Show optional properties
{
"hostname": "string",
"insecure": false,
"is_management": false,
"password": "string",
"username": "string"
}
{
"hostname": "string",
"insecure": false,
"is_management": false,
"name": "string",
"password": "string",
"username": "string"
}
Responses
200
Operation doesn't return any data structure
304
Operation doesn't return any data structure
400
Operation doesn't return any data structure
401
Operation doesn't return any data structure
422
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"hostname:"string","username:"string","password:"string","insecure:"boolean","is_management:"boolean"}' https://{api_host}/vcenters/{name}