cURL
curl --request POST \ --url https://auth.platform.arb.inc/users/roles/list \ --header 'Authorization: Bearer <token>'
{ "roles": [ "admin", "viewer" ] }
Returns the list of roles that the authenticated user is allowed to assume. These roles can be added to their session.
access token
Successfully retrieved available roles for the user.
A list of roles available to the user.
["admin", "viewer"]