usergroup.update
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.
Parameters
The 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.
Examples
Disabling a user group
Disable a user group.
Request:
{
"jsonrpc": "2.0",
"result": {
"usrgrpids": [
]
},
"id": 1
}
Source
CUserGroup::update() in ui/include/classes/api/services/CUserGroup.php.