POST /lcm/api/v1/settings/add/myvmware adds your MyVMware account to vRealize Suite Lifecycle Manager, which enables vRealize Suite Lifecycle Manager to download product OVAs through MyVMware.

Prerequisites

Satisfy the following conditions before performing any tasks for this use case.

  • Use POST /lcm/api/v1/login to log in to vRealize Suite Lifecycle Manager.

  • Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.

  • Verify that you have valid MyVMware credentials.

curl Command

The following example adds a MyVMware account with the specified user name and password.

curl -X POST "http://localhost:8000/lcm/api/v1/settings/add/myvmware" \
        -H "accept: application/json" \
        -H "x-xenon-auth-token: $token" \
        -H "content-type: application/json" \
        -d '{
           "username": "$myVMwareUserName",
           "password": "$myVMwarePassword"}'

JSON Output

The following JSON output is returned when the operation completes successfully.

200 Operation successful