Deleting a Doctype from Custom Module

Is there a way to delete a doctype from a Custom Module that I have developed?

The doctype is not custom, but the module is my own app.

@Ben_Cornwell_Mott in bench console

frappe.delete_doc("DocType", "MyDocType")

This doesn’t seem to be working for me. When I try this, I don’t get any feedback from the console, and it doesn’t give an error if I type the wrong doctype name.

Am i missing something?