I know this question is asked by many people already for my research, here\'s some questions asked before
if the name of node is for example : abcd then below query will work :
MATCH (n:abcd) DETACH DELETE n
This will only delete the node with label "abcd" and all its relation-ships.