Create Vcenter
Create a vcenter.
Request
URI
POST
https://{api_host}/api/v2/vcenters
COPY
Request Body
vcenter of type(s) application/json
Optional
{
"hostname": "string",
"insecure": false,
"is_management": false,
"name": "string",
"password": "string",
"username": "string"
}
string
hostname
Required
The hostname of the vcenter.
boolean
insecure
Required
The flag to check vcenter certificate.
boolean
is_management
Required
The flag to indicate if the vCenter is management vCenter.
string
name
Optional
The name of the vcenter.
string
password
Required
The password of the vcenter, should be base64 encoded.
string
username
Required
The user of the vcenter.
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