How to delete a RenderMaterial

Thanks - for clarity, is it NOT possible to delete a RenderMaterial? @andy

The reason is - I am trying to resolve the problems caused by Importing a 3dm results in duplicate RDK materials and the only way to do it is to find all RenderMaterials with the same hash and name and delete them, but if it’s not possible to delete them I have a problem.

Paul