How to get a complete list of all Users in a Group from Automation Cloud Portal via API call?
Issue Description: The view of the users within a group is too small on the right panel in the Unified Admin Portal in Automation Cloud and the users can be seen only using the scroll bar, the list cannot be expanded.
Resolution:
- Login to automation cloud account and generate an access token and copy it. More details here
- Build the API call
- The organizationName is the name after the base URL: https://cloud.uipath.com/
- The partitionGlobalID can be found by trying to login to cloud.uipath.com, before the url jumped to https://cloud.uipath.com/tenant/portal_/home, it will display the following url for few seconds https://cloud.uipath.com/tenant/portal_/cloudrpa?organizationId=xxxxxx&ecommerceRedirect=false&isAuth0=true. The organisationID used in the url is the partitionGlobalID.
- The groupID can be found when clicking on "Edit Group" on a Group, it is added at the end of the URL and has this structure xxxxx-xxxx-xxxxx-xxxx-xxxx.
- The API call should have the following structure:
curl --location --request GET 'https://cloud.uipath.com/{organizationName}/identity_/api/Group/{organizationID}/{groupID}' \
--header 'Authorization: Bearer {access_token}' \
--header 'Content-Type: application/json'
- All users will be present in the "Members" section of the response.