How to unassign a collection of jobs

How to unassign a collection of jobs

Jsprit does this for you it jobs fail to satisfy the constraint.

I would like to expand on this. What if you wanted to unassign all jobs related to one single location, or, if easier, random locations? Would you then have to recreate (no word play intended) the ruin strategy yourself?
I know the ruin and recreate strategy removes semi-randomly jobs from the best solution and inserts them back in to find a new optimum.