As far as i know the only command that would destroy all tamed dinos with one command is "destroyallenemies" but CAREFULL this will also delete your OWN DINOS. So if you want to use "destroyallenemies" you should cryo your dinos first.
For structures it is "destroytribestructures" while looking at a structure, character or dino of a tribe. But structures will not eat that much performance.