How to delete CMS Static Block programmatically in Magento 2?

You can delete CMS static block programmatically using deleteById() function of Magento\Cms\Api\BlockRepositoryInterface interface.

You just need to inject interface in your constructor and you required only Static Block id to delete specific Block.

You just have to pass Static Block id in deleteCmsBlock() function.