Delete all version of DMN by decisionId from Cockpit

We have refactored some DMN files and renamed , Both of DMN files(deleted from code base and newly refactored) are available in Cockpit
I want to delete the all version of DMN file(deleted from code base) from Cockpit, we are using camunda Community version.
if we are deleting DMN the by deployemntId , same deploymentId is referring to BPMN also. It would be risky to delete DMN by deployment Id,

Is there any way to delete the DMN by decision id?

Best Regards,