For a JavaScript app, we need to get for a certain list of users the role grants per division. The "getUsers" API call (https://developer.genesys.cloud/useragentman/users/#get-api-v2-users) can be used to include the roles in the result - but this result does not contain the divisions for which the roles are granted!
There is an API call https://developer.genesys.cloud/authorization/oauth-apis/authorization-apis#get-api-v2-authorization-divisions--divisionId--grants which might give us this information, but this is still only valid per division, so to get all needed data, we would need to run multiple API calls.
what is the most efficient way to get the role grants for users with information about the division where this roles are granted?