createAPGroup(group_name, device_macs = []) {
    const payload = {device_macs,
      name: group_name
    };

    return this._request('/v2/api/site/<SITE>/apgroups', payload);
  }
/**
   * Create AP group - create_apgroup()
   *
   * @param  string $group_name  name to assign to the AP group
   * @param  array  $device_macs optional, array containing the MAC addresses (strings) of the APs to add to the new group
   * @return object              returns a single object with attributes of the new AP group on success
   *
   */
Create AP group - create_apgroup()
@param  string $group_name  name to assign to the AP group
@param  array  $device_macs optional, array containing the MAC addresses (strings) of the APs to add to the new group
@return object              returns a single object with attributes of the new AP group on success
Create AP group - create_apgroup () @param string $group_name name to assign to the AP group @param array $device_macs optional array containing the MAC addresses ( strings ) of the APs to add to the new group @return object returns a single object with attributes of the new AP group on success
createAPGroup(group_name, device_macs = []) {
    const payload = {device_macs,
      name: group_name
    };
    return this._request('/v2/api/site/<SITE>/apgroups', payload);
  }
createAPGroup ( group_name , device_macs = [ ] ) { const payload = { device_macs , name : group_name } ; return this . _request ( '/v2/api/site/<SITE>/apgroups' , payload ) ; }
Create AP group - create_apgroup()
 @param  string $group_name  name to assign to the AP group
 @param  array  $device_macs optional, array containing the MAC addresses (strings) of the APs to add to the new group
 @return object              returns a single object with attributes of the new AP group on success
Create AP group - create_apgroup () @param string $group_name name to assign to the AP group @param array $device_macs optional array containing the MAC addresses ( strings ) of the APs to add to the new group @return object returns a single object with attributes of the new AP group on success