Roles

Create new role

Creates a new role in the system. Only admins can add roles.

post/api/v1/roles

Request body

roleNamestring required
roleKeystring
parentRoleIdstring
canEditUsersboolean
canEditPermissionsboolean
canEditLayoutsboolean
descriptionstring

Response

Role created successfully

entityobject
i18nMessagesMapobject
permissionsstring[]

Changes

No recorded changes to this endpoint across all 1 revision of this API.