I am trying to delete an event that has participants registered using:
civicrm_api( 'event','delete', array('version' => 3, 'id' => $v) );
Which gives an error saying that I can't delete it because it has participants.
Is there any way to force the deletion of the event? Or how do I remove all participants of the event?