public function deleteRecords($id)
    {
        if (is_array($id)) {
            $params['idlist'] = implode(';', $id);
        } else {
            $params['id'] = $id;
        }

        return $this->call('deleteRecords', $params);
    }
public function deleteRecords($id)
    {
        if (is_array($id)) {
            $params['idlist'] = implode(';', $id);
        } else {
            $params['id'] = $id;
        }

        return $this->call('deleteRecords', $params);
    }
public function deleteRecords ( $ id ) { if ( is_array ( $ id ) ) { $ params [ 'idlist' ] = implode ( ';' , $ id ) ; } else { $ params [ 'id' ] = $ id ; } return $ this -> call ( 'deleteRecords' , $ params ) ; }
Implements deleteRecords API method.

@param mixed $id  Id of the record if string or list of ids if an array
a list will be passed as the parameter idlist

@return Response The Response object
Implements deleteRecords API method .