GET
/
api
/
roles
/
permissions
List all available permissions
curl --request GET \
  --url http://localhost:3000/api/roles/permissions \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Response

Permission keys

success
boolean
Example:

true

message
string
data
string[]