In this part of the code sample you can delete an already existing plan.You can generate a valid unique plan ID in the step Round Trip - Create a Plan.