editAPGroup(group_id, group_name, device_macs) {
    const payload = {_id: group_id,
      attr_no_delete: false,
      name: group_name,
      device_macs};

    return this._request('/v2/api/site/<SITE>/apgroups/' + group_id.trim(), payload, 'PUT');
  }
/**
   * Modify AP group - edit_apgroup()
   *
   * @param  string $group_id    _id value of the AP group to modify
   * @param  string $group_name  name to assign to the AP group
   * @param  array  $device_macs array containing the members of the AP group which overwrites the existing
   *                             group_members (passing an empty array clears the AP member list)
   * @return object              returns a single object with attributes of the updated AP group on success
   *
   */
Modify AP group - edit_apgroup()
@param  string $group_id    _id value of the AP group to modify
@param  string $group_name  name to assign to the AP group
@param  array  $device_macs array containing the members of the AP group which overwrites the existing
group_members (passing an empty array clears the AP member list)
@return object              returns a single object with attributes of the updated AP group on success
Modify AP group - edit_apgroup () @param string $group_id _id value of the AP group to modify @param string $group_name name to assign to the AP group @param array $device_macs array containing the members of the AP group which overwrites the existing group_members ( passing an empty array clears the AP member list ) @return object returns a single object with attributes of the updated AP group on success
editAPGroup(group_id, group_name, device_macs) {
    const payload = {_id: group_id,
      attr_no_delete: false,
      name: group_name,
      device_macs};
    return this._request('/v2/api/site/<SITE>/apgroups/' + group_id.trim(), payload, 'PUT');
  }
editAPGroup ( group_id , group_name , device_macs ) { const payload = { _id : group_id , attr_no_delete : false , name : group_name , device_macs } ; return this . _request ( '/v2/api/site/<SITE>/apgroups/' + group_id . trim ( ) , payload , 'PUT' ) ; }
Modify AP group - edit_apgroup()
 @param  string $group_id    _id value of the AP group to modify
 @param  string $group_name  name to assign to the AP group
 @param  array  $device_macs array containing the members of the AP group which overwrites the existing
                             group_members (passing an empty array clears the AP member list)
 @return object              returns a single object with attributes of the updated AP group on success
Modify AP group - edit_apgroup () @param string $group_id _id value of the AP group to modify @param string $group_name name to assign to the AP group @param array $device_macs array containing the members of the AP group which overwrites the existing group_members ( passing an empty array clears the AP member list ) @return object returns a single object with attributes of the updated AP group on success