Is there a way to remove a file reference using API

I know the EPDM API includes a way to add file references to a file (IEdmAddCustomRefs ) but is there an interface to remove the references?

SolidworksApi macros