Getting roles of each user issue

Hi team,

updating this topic will easy to implement solution. With the usage of

GET /api/v2/organizations/{id}/members

endpoint, you can fetch roles alongside members who belong to an organization.

  • Use the fields parameter to optionally define the specific member details retrieved. If fields is left blank, all fields (except roles) are returned.

  • Member roles are not sent by default. Use fields=roles to retrieve the roles assigned to each listed member. To use this parameter, you must include the read:organization_member_roles scope in the token.

https://auth0.com/docs/api/management/v2/organizations/get-members

Thanks
Dawid