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

Changes

Changed in 2 of the 7 revisions of this API.11