editUserGroup(group_id, site_id, group_name, group_dn = -1, group_up = -1) {
    const payload = {_id: group_id,
      site_id,
      name: group_name,
      qos_rate_max_down: group_dn,
      qos_rate_max_up: group_up};

    return this._request('/api/s/<SITE>/rest/usergroup/' + group_id.trim(), payload, 'PUT');
  }
/**
   * Modify user group (using REST) - edit_usergroup()
   *
   * returns an array containing a single object with attributes of the updated usergroup on success
   *
   * required parameter <group_id>   = _id of the user group
   * required parameter <site_id>    = _id of the site
   * required parameter <group_name> = name of the user group
   * optional parameter <group_dn>   = limit download bandwidth in Kbps (default = -1, which sets bandwidth to unlimited)
   * optional parameter <group_up>   = limit upload bandwidth in Kbps (default = -1, which sets bandwidth to unlimited)
   *
   */
Modify user group (using REST) - edit_usergroup()
returns an array containing a single object with attributes of the updated usergroup on success


Modify user group ( using REST ) - edit_usergroup () returns an array containing a single object with attributes of the updated usergroup on success
editUserGroup(group_id, site_id, group_name, group_dn = -1, group_up = -1) {
    const payload = {_id: group_id,
      site_id,
      name: group_name,
      qos_rate_max_down: group_dn,
      qos_rate_max_up: group_up};
    return this._request('/api/s/<SITE>/rest/usergroup/' + group_id.trim(), payload, 'PUT');
  }
editUserGroup ( group_id , site_id , group_name , group_dn = - 1 , group_up = - 1 ) { const payload = { _id : group_id , site_id , name : group_name , qos_rate_max_down : group_dn , qos_rate_max_up : group_up } ; return this . _request ( '/api/s/<SITE>/rest/usergroup/' + group_id . trim ( ) , payload , 'PUT' ) ; }
Modify user group (using REST) - edit_usergroup()
 returns an array containing a single object with attributes of the updated usergroup on success
Modify user group ( using REST ) - edit_usergroup () returns an array containing a single object with attributes of the updated usergroup on success