Skip to main content

User groups

Create group#

Return Group object

Request body:

AttributeTypeDescriptionNullable
externalIdStringGroup external idtrue
nameStringName of groupfalse
descriptionStringDescriptionfalse
blockWebAccessBooleanBlocks access to the web interface for all users of the groupfalse
activeBooleanGroup availability for userstrue
userIdsList of Integer (comma-separated)Addition users in group by specified ids (comma-separated)true
rolesList of role objectAddition roles in group by specified nametrue

Update group#

Return updated Group object

Request body:

AttributeTypeDescriptionNullable
externalIdStringGroup external idtrue
nameStringName of groupfalse
descriptionStringDescriptionfalse
blockWebAccessBooleanBlocks access to the web interface for all users of the groupfalse
activeBooleanGroup availability for userstrue
userIdsList of Integer (comma-separated)Addition users in group by specified ids (comma-separated)true
rolesList of role objectAddition roles in group by specified nametrue

List groups#

Return list of Group objects

Request parameters:

Request ParameterTypeDescriptionRequired
nameStringFind group by namefalse
idsList of integerFind group by idsfalse
fieldsList of stringFields to add to response objectfalse
userIdIntegerFind groups by user idfalse
skipUserIdIntegerFind groups by skip user idfalse
businessDirIdsList of Integer (comma-separated)Find groups by businessDirIdsfalse
onlyActiveBoolean<>Get only active groups. Default <code>true</code></>false

List user groups#

Return list of Group objects

Add user to groups#

Add user to selected groups

Remove groups from user#

Remove groups from user