POST /lcm/api/v1/settings modifies vRealize Suite Lifecycle Manager common configuration settings.
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.
curl Command
The following example sets new passwords for admin, root, and SSH user, enables SSH and telemetry, and sets the vRealize Suite Lifecycle Manager host name.
curl -X POST "https://LCM-Hostname/lcm/api/v1/settings" \ -H "accept: application/json" \ -H "x-xenon-auth-token: $token" \ -H "content-type: application/json" \ -d '{ "adminPassword": "VMware1!", "rootPassword": "VMware1!", "sshuserPassword": "VMware1!", "sshEnabled": true, "telemetryEnabled": true }'
JSON Output
The following JSON output is returned when the operation completes successfully.
200 Operation successful