Skip to content

Roles & permissions API

7 endpoints. All requests need an Authorization header — see Authentication. API keys additionally need the matching scope.

Method Path Description
GET /api/roles List Roles
POST /api/roles Create Role Accepts a JSON body.
POST /api/roles/assign Assign Roles Accepts a JSON body.
GET /api/roles/schema Rbac Schema
GET /api/roles/users List Users Roles
DELETE /api/roles/{role_id} Delete Role
PUT /api/roles/{role_id}/permissions Set Permissions Accepts a JSON body.

Try it

The full request/response schema for every endpoint is in the OpenAPI spec served by your own workspace.