POST /lcm/api/v1/drift/lcmtemplate captures a product's configuration parameters at a given time as a baseline for configuration drift reports.


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 saves the current vRealize Operations Manager product configuration as the vRealize Operations Manager configuration drift baseline.
curl -X POST "https://LCM-Hostname/lcm/api/v1/drift/lcmtemplate" \
        -H "accept: application/json" \
        -H "x-xenon-auth-token: $token" \
        -d '{
              "environment": "Sample Environment Name",
              "product": "vrops"

JSON Output

The following JSON output is returned when the product baseline is successfully saved.
200 	Operation successful