Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/roles \ --header 'Authorization: Bearer <token>'
{ "roles": [ { "publicId": "<string>", "name": "<string>", "description": "<string>", "hierarchyLevel": 123, "isSystem": true } ] }
Get all roles for a workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
12
Successful response
Show child attributes