Remove Type / Instance parameters of family inside project

Dear Experts,

I was looking for to delete all parameters (instance and type which is not shared parameters) of family used in the project.

There are some methods published in this forum by exporting to folder, deleting and importing to project.

But I wonder if it is possible to handle this task through project directly.