Can I get the details of all users and their roles through an API

I want the API url to get all the users and their roles/specific roles(project admin, admin etc). I have checked we have the different urls like this one "/app/rest/users" or "/app/rest/users/<userLocator>/roles" but cannot find this particular API url. Please let me know if any

0
1 comment
Hi Chinmay,

You can get the list of all users by sending a GET request to /app/rest/users. After this, you can iterate through each user to get their roles via /app/rest/users/id:/roles endpoint. There is no endpoint for doing it in one request.

Best regards,
Anton
0

Please sign in to leave a comment.