List all available roles
GET
/api/v1/auth/rolesPublic endpoint that returns the role hierarchy (viewer, editor, admin) and their permissions.
Parameters
This endpoint does not accept parameters.
Responses
200List of roles and permissions
Request
curl -X GET "https://api.knowledgetree.dev/api/v1/auth/roles" \
-H "Authorization: Bearer $KT_API_TOKEN"Response
200List of roles and permissions
Example response not yet documented.