POST /lcm/api/v1/lcmversion returns the vRealize Suite Lifecycle Manager version number and build number.
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.
The following example requests the version number and build number for this instance of vRealize Suite Lifecycle Manager.
curl -X GET "https://LCM-Hostname/lcm/api/v1/lcmversion" \ -H "accept: application/json" \ -H "x-xenon-auth-token: $token" \ -H "content-type: application/json" \
The following JSON output is returned with the vRealize Suite Lifecycle Manager version number and build number when the operation completes successfully.
200 Operation successful