We are trying to retrieve all available roles along with users to whom those are assigned. I found that we need to do this by specifying ‘UserID’ in API request - {{url}}/api/v1/users/{{userId}}/roles by Using ‘Get’ method. Is there any way by which I can get all the users and roles assigned to them in single request instead of giving individual ‘UserID’?
Hi Prasad, The way you are doing this is the way that it currently has to be done. You will need to go through each user and request the /roles endpoint. I will pass this along to the rest of the team so we can discuss this, and look at how we can improve this based on what you were looking to do.