Remove config value

I just need a little help here. The spongedocs do not make it very clear how to remove a value from a config.
So that’s what I’m asking; what would I do to remove a node from the config? Would I set the node to null or is there something I am not seeing?

I had a bug recently where I set the nodes to null and it deleted the node from config(not the section though). A better way would probably be removeChild() on the parent node.

Configurate isn’t a direct part of Sponge, it’s @zml’s separate project. You might want to try the github page or javadocs.

The solution @Katrix gave worked.

The preferred way is to set a node’s value to null – so to delete the node “unused” do root.getNode("unused").setValue(null);