Skip to main content
GET
/
workspaces
/
{workspacePublicId}
/
permissions
/
me
Get my permissions
curl --request GET \
  --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/permissions/me \
  --header 'Authorization: Bearer <token>'
{
  "permissions": [
    "<string>"
  ],
  "role": "<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

Response

Successful response

permissions
string[]
required
role
string
required