メインコンテンツへスキップ
GET
Go

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

ロールを一覧表示する対象ユーザーのid。

クエリパラメータ

per_page
integer

ページごとの結果数。

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

返される結果のページインデックス。最初のページは 0 です。

必須範囲: x >= 0
include_totals
boolean

合計結果数を含むオブジェクト内で結果を返すか(true)、結果の配列を直接返すか(false、デフォルト)。

レスポンス

ロールを正常に取得しました。

description
string

このロールの説明。

id
string

このロールの ID。

name
string

このロールの名前。