GET
/
iam
/
auth
/
v1
/
roles
/
{role_id}
curl --request GET \
  --url https://api.mottostreaming.com/iam/auth/v1/roles/{role_id} \
  --header 'Authorization: Bearer <token>'
{
  "role": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "permissions": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

role_id
string
required

Query Parameters

view
enum<string>

Defines fields returned for the role. Defaults to ROLE_VIEW_FULL.

Available options:
ROLE_VIEW_UNSPECIFIED,
ROLE_VIEW_BASIC,
ROLE_VIEW_FULL

Response

200
application/json
OK
role
object