When working with organizations programmatically, you may need to retrieve a list of roles assigned to a member of an organization.You can view the roles associated with an organization member using either the or the .
Make a GET call to the Get Organization Member Roles endpoint. Be sure to replace the ORG_ID, USER_ID, and MGMT_API_ACCESS_TOKEN placeholder values with your organization ID, member’s user ID, and Management API , respectively.
Find Your Auth0 DomainIf your Auth0 domain is your tenant name, your regional subdomain (unless your tenant is in the US region and was created before June 2020), plus .auth0.com. For example, if your tenant name were travel0, your Auth0 domain name would be travel0.us.auth0.com. (If your tenant were in the US and created before June 2020, then your domain name would be https://travel0.auth0.com.)If you are using custom domains, this should be your custom domain name.
Value
Description
ORG_ID
ID of the organization for which you want to retrieve a member’s roles.
USER_ID
User ID of the member for which you want to retrieve roles.