object usergroup.update(object/array userGroups)
This method allows to update existing user groups.
(object/array) User group properties to be updated.
usrgrpid property must be defined for each user group, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the standard user group properties, the method accepts the following parameters.
|rights||object/array||Permissions to replace the current permissions assigned to the user group.|
|tag_filters||array||Tag based permissions to assign to the group.|
|userids||string/array||IDs of the users to replace the users in the group.|
(object) Returns an object containing the IDs of the updated user groups under the
Disable a user group.
CUserGroup::update() in frontends/php/include/classes/api/services/CUserGroup.php.