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 "http://localhost:8000/lcm/api/v1/settings" \
        -H "accept: application/json" \
        -H "x-xenon-auth-token: $token" \
        -H "content-type: application/json" \
        -d '{ 
            "adminPassword": "$newAdminPassword",
            "rootPassword": "$newRootPassword",
            "sshuserPassword": "$newSSHUserPassword",
            "sshEnabled": true,
            "telemetryEnabled": true,
            "hostName": "$vRSLCMhostFQDN",
            "configType": ""}'

JSON Output

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

200 Operation successful