Skip to main content
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>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.vexelia.com/llms.txt

Use this file to discover all available pages before exploring further.

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