POST Vidb
Configures vIDB integration.
Request
URI
POST
https://{api_host}/api/v2/vidb
COPY
Request Body
Show optional properties
{
"enabled": false,
"hostname": "string",
"tenant": "string",
"username": "string",
"password": "string",
"redirectUrl": "string"
}
{
"enabled": true,
"hostname": "example-vc.eng.vmware.com",
"port": 443,
"tenant": "customer",
"username": "exampleVCAdmin",
"password": "exampleVCPassword",
"acceptCert": false,
"redirectUrl": "exampleVIP.ip.or.fqdn"
}
boolean
enabled
Required
enabled
string
hostname
Required
hostname
integer
port
Optional
port
string
tenant
Required
tenant
string
username
Required
username
string
password
Required
password
boolean
acceptCert
Optional
acceptCert
string
redirectUrl
Required
redirectUrl
Responses
200
HTTP response code 200 indicates that connection was made successfully.
Operation doesn't return any data structure
400
The request failed because the request body either did not contain valid JSON, did not match the required JSON format, or provided vIDB credentials are wrong.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"enabled:"boolean","hostname:"string","tenant:"string","password:"string","username:"string","redirectUrl:"string"}' https://{api_host}/api/v2/vidb