Skip to main content
GET
/
api
/
users
/
roles
List Roles
curl --request GET \
  --url https://api.example.com/api/users/roles \
  --header 'Authorization: Bearer <token>'
{
  "roles": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Cookies

antidote_session
string | null

Response

Successful Response

roles
string[]
required