v6

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0161113158.0 KB
Roles

Create a new role with permissions

Creates a new role for the current tenant with the specified permissions. Admin-only access.

post/api/roles

Request body

namestring required

The name of the role to create.

descriptionstring nullable

The description of the role.

permissionsstring[] required

The list of permission names to assign to the role.

Response

Role created successfully.

messagestring