/lcm/api/v1/settings/add/vidm adds a VMware Identity Manager (vIDM) to vRealize Suite Lifecycle Manager.
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.
Verify that you have an existing VMware Identity Manager version 2.9.2.
Verify that you have added an active directory server to vRealize Suite Lifecycle Manager. See Add an Active Directory Server.
curl Command
The following example adds and enables a vIDM for all users.
curl -X POST "http://localhost:8000/lcm/api/v1/settigs/add/vidm" \ -H "accept: application/json" \ -H "x-xenon-auth-token: $token" \ -H "content-type: application/json" \ -d '{ "hostname": "$vIDMhostFQDN", "adminUserName": "$adminUserName", "adminPassword": "$adminPassword", "vidmCloudAdminGroup": "ALL_USERS", "enabled": true}'
JSON Output
The following JSON output is returned when the operation completes successfully.
200 Operation successful