v2

latestOpenAPI 3.1.02026-07-26391214472.7 KB
admin-user-roles

Create User Role

Create a new user role with optional group and permission assignments.

post/api/v1/admin/user-roles

Headers

authorizationstring nullable
X-API-Keystring nullable

Request body

namestring required
descriptionstring nullable
all_access_levelstring
is_all_accessboolean nullable
can_manage_activitiesboolean
can_manage_tasksboolean
record_type_group_idsinteger[]

IDs of record type groups to attach

Response

Successful Response

idinteger required
tenant_idinteger required
namestring required
descriptionstring nullable
all_access_levelstring
can_manage_activitiesboolean
can_manage_tasksboolean
is_activeboolean required
created_atstring date-time nullable
updated_atstring date-time nullable
user_countinteger