API Reference
nuke.
delete
The named node is deleted. It can be recovered with an undo.
n – Node.
None