object usergroup.update(object/array userGroups)
This method allows to update existing user groups.
This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(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.|
|users||object/array||Users to add to the user group.
The user must have the
(object) Returns an object containing the IDs of the updated user groups under the
Disable a user group.
CUserGroup::update() in ui/include/classes/api/services/CUserGroup.php.