Recurring Events - delete all series option

Hi guys,
I’m trying to understand how to delete all events from recurring events, I know that I can do it if I press ‘edit series’ and then press delete. But I would like to have something like “delete series” when I press delete button on Custom event’s box.

the recurring series are deleted the same way as a regular events. You need to call scheduler.deleteEvent providing and id of the series as an argument … event.html