メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
organizations
/
{organization_id}
/
groups
/
{group_id}
/
roles
Lists the roles assigned to a group in the context of an organization.
curl --request GET \
  --url https://{tenantDomain}/api/v2/organizations/{organization_id}/groups/{group_id}/roles \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>"
    }
  ],
  "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.

パスパラメータ

organization_id
string
必須

ID of the organization

group_id
string
必須

ID of the group

クエリパラメータ

from
string

Optional Id from which to start selection.

take
integer

Number of results per page. Defaults to 50.

必須範囲: x >= 1

レスポンス

Organization group roles successfully retrieved.

roles
object[]
必須
next
string

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