<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_all_events(self, calendar_ids=()):
 """Deletes all events managed through Cronofy from the all of the user's calendars. :param tuple calendar_ids: List of calendar ids to delete events for. (Optional. Default empty tuple) """

        params = {'delete_all': True}
        if calendar_ids:
            params = {'calendar_ids[]': calendar_ids}

        self.request_handler.delete(endpoint='events', params=params)