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 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 , the method accepts the following parameters.

    Examples

    Enabling a user group and updating permissions

    Enable a user group and provide read-write access for it to host groups “2” and “4”.

    :

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

    Source

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