I would like to be able to remove mapviews and layouts using arcpy. To me this seems like something arcpy should have the ability to do.
To provide a simple use case. I have a python toolbox which is used to create/setup new arcgis pro projects for planning applications. The toolbox uses a 'seed project' as the base for creating the new project. The seed project has all mapviews/layouts that could be used by all application types. But some application types do not use all mapviews/layouts. This is why for us it would be helpful if there was a way with arcpy to remove mapviews/layouts which are not needed for certain application types.