How do I delete a vocabulary programmatically?
I believe I have figured this out. You have to load the vocabulary using the Vocabulary entity class, then call the delete method on it. So something like this:

Vocabulary::load($vid)-&gt;delete();