Skip to main content
GET
/
api
/
v1
/
auth
/
roles
List all roles
curl --request GET \
  --url https://api.example.com/api/v1/auth/roles \
  --header 'Authorization: <api-key>'
{
  "count": 123,
  "roles": [
    {
      "created_at": "<string>",
      "description": "<string>",
      "name": "<string>",
      "scopes": [
        {
          "action": "<string>",
          "resource": "<string>"
        }
      ],
      "updated_at": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://gns3util.saygex.xyz/llms.txt

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

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Response

OK

count
integer
roles
object[]