If the MyVMware credentials registered in vRealize Suite Lifecycle Manager change, you can use a PATCH request to update the password in vRealize Suite Lifecycle Manager.
Prerequisites
Satisfy the following conditions before performing the tasks for this use case.
Procedure
- Submit a request to get the MyVMware ID.
curl -X POST "https://LCM-Hostname/lcm/api/v1/settings/add/myvmware" \
-H "accept: application/json" \
-H "x-xenon-auth-token: $token" \
-H "content-type: application/json" \
-d "{"username": "myVMW_username", "password": "myVMW_password" }"
Where myVMW_username and my_VMW_password are the MyVMware user details.
- Examine the response for the myVMware_ID.
- Using the myVMware_ID, submit a request to update the MyVMware credential with the new MyVMware password.
curl -X PATCH "https://LCM-Hostname/lcm/api/v1/settings/add/myvmware/<myVMware_ID>" \
-H "accept: application/json" \
-H "x-xenon-auth-token: $token" \
-H "content-type: application/json" \
-d "{"username": "myVMW_username", "password": "new_myVMW_password" }"
- Examine the response to see the ID and the status of the request.