GET
/
users
/
me
/
roles
Gets all the roles the current user is a member of
curl --request GET \
  --url https://api.vexelia.com/users/me/roles \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Your API key goes here, you can generate one in your account settings.

Response

The roles the current user is associated with

Generic response that most responses inherit or return on an API endpoint

success
boolean

Whether the operation was successful

message
string | null

The optional message given by the operation

data
string[] | null

The optional return data from the operation