how to delete all the vertex groups instead of one at a time

When un parenting a mesh from its armature all the vertex groups are still left behind. How can I delete them all at once instead of having to click the lil minus sine like a hundred times. Also have to do this for shape keys.

theres a delete all if you click the little black tri angle. I dont think that was there beforeā€¦