Flush events from the cloud node.

def flush_events(self):
        """Flush events from the cloud node."""
        response = self._send_data('DELETE', 'admin', 'flush-events', {})

        if response['success']:
            msg = "Events flushed"
        else:
            msg = "Flushing of events failed"
        output = {'message': msg}

        return output