Skip to main content
POST
/
workspaces
/
{workspacePublicId}
/
roles
/
{rolePublicId}
/
permissions
/
revoke
Revoke permission from role
curl --request POST \
  --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/roles/{rolePublicId}/permissions/revoke \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.kan.bn/llms.txt

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

Authorizations

Authorization
string
header
required

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

Path Parameters

workspacePublicId
string
required
Minimum string length: 12
rolePublicId
string
required
Minimum string length: 12

Body

application/json
permission
enum<string>
required
Available options:
workspace:view,
workspace:edit,
workspace:delete,
workspace:manage,
board:view,
board:create,
board:edit,
board:delete,
list:view,
list:create,
list:edit,
list:delete,
card:view,
card:create,
card:edit,
card:delete,
comment:view,
comment:create,
comment:edit,
comment:delete,
member:view,
member:invite,
member:edit,
member:remove

Response

Successful response

success
boolean
required