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:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": {
    4. "usrgrpids": [
    5. ]
    6. },
    7. "id": 1
    8. }

    Source

    CUserGroup::update() in ui/include/classes/api/services/CUserGroup.php.