def delete(self):
if self.object_id is None:<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>url = self.build_url(<EOL>self._endpoints.get('<STR_LIT>').format(id=self.object_id))<EOL>response = self.con.delete(url)<EOL>return bool(response)<EOL>
Deletes a stored event

        :return: Success / Failure
        :rtype: bool