Add API to delete events