Synchronize with the Workspace ONE Access directory by using a POST API call.

This scenario is optional depending of your end to end process, but if you are also automating the creation of Active Directory (AD) groups for your project, these groups must be synchronized in the Workspace ONE Access service (previously known as VMware Identity Management) before they can be associated to a project for user access. In this use case, you are using the Lifecycle Manager (LCM) API to perform the synchronization operation. LCM performs the downstream synchronization call to Workspace ONE Access .

The call is perform by using the POST method with the following URL:
/lcm/authzn/api/idp/dirConfigs/syncprofile/sync

The request itself has the following content:

{
 "directoryConfigId": directoryId,
 "directoryType": "ActiveDirectory",
 "isGetBeforeUpdate": true,
 "isTenantConfiguredByPath": true,
 "vidmAdminPassword": password,
 "vidmAdminUser": username,
 "vidmHost": hostname
}