Skip to main content
POST
/
users
/
roles
/
list
List available roles for the user
curl --request POST \
  --url https://auth.platform.arb.inc/users/roles/list \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    "admin",
    "viewer"
  ]
}

Authorizations

Authorization
string
header
required

access token

Response

Successfully retrieved available roles for the user.

roles
string[]

A list of roles available to the user.

Example:
["admin", "viewer"]