Skip to main content
DELETE
/
api
/
v2
/
backoffice
/
roles
/
{id}
/
permissions
Remove permissions from a role
curl --request DELETE \
  --url https://sandbox.killb.app/api/v2/backoffice/roles/{id}/permissions \
  --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.

Path Parameters

id
string
required

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