Skip to content
Streamkap
Esc
navigateopen⌘Jpreview

Get Roles

GET/auth/roles
Authorization
AuthorizationBearer token · headerrequired
Responses
200

Successful Response

Array of Role
idstringrequired
keystringrequired
namestringrequired
descriptionstring | anyrequired
Show properties
Any of:
string
string
any
any
created_atstring | string<date-time> | any
Show properties
Any of:
string
string
string<date-time>
string<date-time>
any
any
updated_atstring | string<date-time> | any
Show properties
Any of:
string
string
string<date-time>
string<date-time>
any
any
permissionsstring[]
Request
curl -X GET "https://api.streamkap.com/auth/roles" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
[
  {
    "id": "string",
    "key": "string",
    "name": "string",
    "description": "string",
    "created_at": "string",
    "updated_at": "string",
    "permissions": [
      "string"
    ]
  }
]