Associate Add On Credentials
Associate a new add on credentials with the SDDC such as HCX
Request
URLURL
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddcId}/addons/{addonType}/credentials
Parameters
Parameters
string
org
Required
Org id of the associated SDDC
string
sddcId
Required
Id of the SDDC
string
addonType
Required
Add on type
Request Body
Request Body
NewCredentials (required)
string
name
Required
Name of the credentials
string
password
Required
Password associated with the credentials
string
username
Required
Username of the credentials
Response
Response
Response BodyResponse Body
201 Created returns
NewCredentials
{
"name": "string",
"password": "string",
"username": "string"
}
string
name
Required
Name of the credentials
string
password
Required
Password associated with the credentials
string
username
Required
Username of the credentials
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"name":"string","password":"string","username":"string"}' https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddcId}/addons/{addonType}/credentials
Errors
400
The request cannot be fulfilled due to bad syntax.
403
The server understood the request, but is refusing to fulfill it.
409
The request could not be completed due to a conflict with the current state of the resource.