code: def delete_events(self, event_collection, params):
          
  
          url = "{0}/{1}/projects/{2}/events/{3}".format(self.base_url,
                                                         self.api_version,
                                                         self.project_id,
                                                         event_collection)
          headers = utilities.headers(self.master_key)
          response = self.fulfill(HTTPMethods.DELETE, url, params=params, headers=headers, timeout=self.post_timeout)
  
          self._error_handling(response)
          return True
docs: Deletes events via the Keen IO API. A master key must be set first.
  
          :param event_collection: string, the event collection from which event are being deleted