メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
users
/
{id}
/
effective-roles
ユーザーのロールを、付与元(直接割り当てまたはグループメンバーシップ経由)とともに一覧表示します。
curl --request GET \
  --url https://{tenantDomain}/api/v2/users/{id}/effective-roles \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>",
      "sources": []
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

有効なロールの一覧取得対象となるユーザーの ID。

クエリパラメータ

from
string

選択の開始位置となる省略可能な Id。

take
integer

1 ページあたりの結果数。既定値は 50 です。

必須範囲: x >= 1

レスポンス

ユーザーの有効なロールを正常に取得しました。

roles
object[]
必須
next
string

結果の次のページのカーソル