Skip to main content
GET
/
api
/
v2
/
backoffice
/
roles
List all roles
curl --request GET \
  --url https://sandbox.killb.app/api/v2/backoffice/roles \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "permissions": [
      {
        "id": "<string>",
        "name": "<string>",
        "resource": "<string>",
        "action": "<string>",
        "description": "<string>",
        "active": true,
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "active": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

id
string
required
name
string
required
description
string
required
permissions
object[]
required
active
boolean
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required