code: def delete(self) :
          
          r = self.connection.session.delete(self.URL)
          data = r.json()
          if not r.status_code == 200 or data["error"] :
              raise DeletionError(data["errorMessage"], data)
docs: deletes the collection from the database