Create Vcenter
Create a vcenter.
Request
URI
POST
https://{api_host}/vcenters
COPY
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
201
Operation doesn't return any data structure
401
Operation doesn't return any data structure
409
Operation doesn't return any data structure
422
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"hostname:"string","username:"string","password:"string","insecure:"boolean","is_management:"boolean"}' https://{api_host}/vcenters