I need to find organization members and add/remove them from Glip teams.
There is also an API to update Group members using the personId and email properties, but no info on how to search or get a list of personIds for the organization.
- Edit Group Members API
In the API Reference, I found an API to list teams but not to list people.
- Get Team List API
Is there a way to list organization members and add/remove them from Glip teams?
To get a list of Glip organization members, use the Directory Entries API to search and list company contacts. The user
idreturned in the Directory Entries API is the same as used for the Edit Group Members API.Search or list company contacts using the following APIs:
Use the returned user objects'
idproperty with the Edit Group Members API in theaddedPersonIdsandremovedPersonIdsproperties.