How to completely exclude a Node from BOT?

I created and Entity node with the name “checkOldPasswordResponse” in the flow,

then i change my mind and this node is no need anymore, what i want is a Script node, but i need the script node has the same name as the old Entity node: checkOldPasswordResponse .
And it is not possible.

How can i delete the “checkOldPasswordResponse” Entity node completely to use the same name as a new Script node?

When you create a node in a flow then the platform creates two versions of it: a component and a node. This allows a node to be reused in multiple places and/or different dialogs.

The component represents the parts that are common like the type and patterns, and the node contains the pieces that can vary like message responses.

Removing a node from a dialog only removes that particular node instance from the flow, the component is still there in the bot. To remove a component, go to the Bot Tasks tab and click on the Manage Components button. You will be able to delete a component from there.