メインコンテンツへスキップ
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://docs-staging.auth0-mintlify.app/llms.txt

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

承認

Authorization
string
header
必須

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

パスパラメータ

user_id
string
必須

The user ID.

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

クエリパラメータ

from
string

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

Required string length: 1 - 1000
take
integer
デフォルト:50

Number of results per page. Defaults to 50.

必須範囲: 1 <= x <= 100

レスポンス

Retrieved memeber roles successfully.

roles
object[]
必須
next
string

Pagination cursor for the next page of results