Create Password V2 Using POST
This API is used to create a new password in a password store.
{
"alias": "Default Password for vCenters",
"createdOn": 1605791587373,
"lastUpdatedOn": 1605791587373,
"password": "PASSWORD****",
"passwordDescription": "This password is being used for all my vCenters",
"principal": "string",
"referenced": false,
"tenant": "string",
"transactionId": "string",
"userName": "[email protected]",
"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
Password Alias
createdOn
lastUpdatedOn
Password Value
Password Description
principal
referenced
tenant
transactionId
Username associated with password
vmid
OK
Created
{
"alias": "Default Password for vCenters",
"createdOn": 1605791587373,
"lastUpdatedOn": 1605791587373,
"password": "PASSWORD****",
"passwordDescription": "This password is being used for all my vCenters",
"principal": "string",
"referenced": false,
"tenant": "string",
"transactionId": "string",
"userName": "[email protected]",
"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
Password Alias
createdOn
lastUpdatedOn
Password Value
Password Description
principal
referenced
tenant
transactionId
Username associated with password
vmid
Bad Request
{
"errorCode": "LCM_EXAMPLE_API_ERROR0000",
"errorLabel": "Example Error!",
"message": "Something went wrong!",
"recommendations": []
}
errorCode
errorLabel
message
recommendations
Unauthorized
Forbidden
Not Found
Conflict
{
"errorCode": "LCM_EXAMPLE_API_ERROR0000",
"errorLabel": "Example Error!",
"message": "Something went wrong!",
"recommendations": []
}
errorCode
errorLabel
message
recommendations
Internal Server Error
{
"errorCode": "LCM_EXAMPLE_API_ERROR0000",
"errorLabel": "Example Error!",
"message": "Something went wrong!",
"recommendations": []
}
errorCode
errorLabel
message
recommendations