I am running into an interesting situation on my Epi projects. The scenario is simple: A page is added, blocks are added locally to the page, and then the page is later deleted. What I am finding is that the blocks still exist in the system even though their parent page is removed. I can pull up their edit URL directly if I know the Content ID, but cannot delete the block from this interface.
How do you properly managed orphaned blocks on your projects? Should I create a scheduled task that purges unused blocks periodically? Is there a community plugin that will give me a view into unused blocks?
The "Remove Unrelated Content Assets" scheduled job will remove blocks related to deleted content.
I believe this is what you are looking for
There is an inbuild Schedule Job for it named "Remove Unrelated Content Assets", it will do the trick.