I’ve got a function that auto creates taxonomy terms – Can it auto delete them as well?

There was some confusion in the original question with the terminology i used. I didn’t find a way to do what i was after but it’s to late for me to do it now.