メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
organizations
/
{organization_id}
/
groups
/
{group_id}
/
roles
組織コンテキストでグループに割り当てられているロールを一覧表示する。
curl --request GET \
  --url https://{tenantDomain}/api/v2/organizations/{organization_id}/groups/{group_id}/roles \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

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

パスパラメータ

organization_id
string
必須

組織のID

group_id
string
必須

グループのID

クエリパラメータ

from
string

選択を開始する起点となる省略可能な Id。

take
integer

1 ページあたりの結果数。デフォルトは 50 です。

必須範囲: x >= 1

レスポンス

組織グループのロールを正常に取得しました。

roles
object[]
必須
next
string

結果の次ページで "from" クエリパラメーターとして使用するカーソルです。