Google Script to delete all activities of a specific deal

Is there an easy way to do that?

Thanks