Skip to main content
GET
/
members
/
{user_id}
/
roles
List member roles
curl --request GET \
  --url https://{tenantDomain}/my-org/v1/members/{user_id}/roles \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    {
      "id": "rol_SO2j0sFo9NFa3F9w",
      "name": "role1",
      "description": "role1 description"
    },
    {
      "id": "rol_BO2j1sFo9NFa3F9w",
      "name": "role2",
      "description": "role2 description"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://auth0.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

user_id
string
required

The user ID.

Pattern: ^(?=.{1,1024}$).+\|.+$

Query Parameters

from
string

An optional cursor from which to start the selection (exclusive).

Required string length: 1 - 1000
take
integer
default:50

Number of results per page. Defaults to 50.

Required range: 1 <= x <= 100

Response

Retrieved memeber roles successfully.

roles
object[]
required
next
string

Pagination cursor for the next page of results