def flush(self, channel_id=None, **kwargs):  
path = "<STR_LIT>".format(channel_id)<EOL>r = self._httpclient.request(<EOL>method="<STR_LIT:POST>",<EOL>url=self.url,<EOL>path=path,<EOL>**kwargs<EOL>)<EOL>return r<EOL>
Discard all existing events from the event channel.

        This endpoint removes all events from the channel. Use this
        endpoint only if you currently have unread events in your
        channel that you never intend to process.

        Args:
            channel_id (str): The channel ID.
            **kwargs: Supported :meth:`~pancloud.httpclient.HTTPClient.request` parameters.

        Returns:
            requests.Response: Requests Response() object.

        Examples:
            Refer to ``event_flush.py`` example.