メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
users
/
{id}
/
effective-roles
/
sources
/
groups
Get a user's role source groups
curl --request GET \
  --url https://{tenantDomain}/api/v2/users/{id}/effective-roles/sources/groups \
  --header 'Authorization: Bearer <token>'
{
  "groups": [
    {
      "id": "<string>",
      "name": "<string>",
      "external_id": "<string>",
      "connection_id": "<string>",
      "tenant_name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next": "<string>"
}

Documentation Index

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

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

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

ID of the user to list role source groups for.

クエリパラメータ

role_id
string
必須

ID of the role to get source groups for.

from
string

Optional Id from which to start selection.

take
integer

Number of results per page. Defaults to 50.

必須範囲: x >= 1

レスポンス

User's role source groups successfully retrieved.

groups
object[]
必須
next
string

A cursor to be used as the "from" query parameter for the next page of results.