Skip to main content
GET
/
workspaces
/
{workspacePublicId}
/
roles
/
{rolePublicId}
/
permissions
Get role permissions
curl --request GET \
  --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/roles/{rolePublicId}/permissions \
  --header 'Authorization: Bearer <token>'
{
  "rolePublicId": "<string>",
  "name": "<string>",
  "permissions": [
    "<string>"
  ]
}

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

Response

Successful response

rolePublicId
string
required
name
string
required
permissions
string[]
required