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

Save My VMware Account V2

Description

This API is used to save myvmware account.

Request

Request

URL

URL


post
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 POST -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?