[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Update My VMware Account V2

Description

This API is used to update a myvmware account. Its recommended to trigger get all mvmware accounts API, before performing this operation.

Request

Request

URL

URL


put
https://localhost:8080/lcm/lcops/api/v2/settings/my-vmware/accounts
Copy

Request Body

Request Body

MyVmwareConfigurationDTO of type(s) application/json Required

myVmwareConfigurationDTO

{
	"password": "locker:password:<vmid>:<alias>",
	"userName": "myvmwareaccount@vmware.com"
}
string
password Optional

Myvmware account password


string
userName Optional

Myvmware account username

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

201 Created returns MyVmwareConfigurationDTO of type(s) application/json
{
	"password": "locker:password:<vmid>:<alias>",
	"userName": "myvmwareaccount@vmware.com"
}
string
password Optional

Myvmware account password


string
userName Optional

Myvmware account username

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"password":"locker:password:<vmid>:<alias>","userName":"myvmwareaccount@vmware.com"}' https://localhost:8080/lcm/lcops/api/v2/settings/my-vmware/accounts


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Settings Controller Operations
Feedback

Was this page helpful?