After careful inspection of the out of the box nodes available in Dynamo, many users wonder why there isn’t a delete node included. Perhaps, it was too risky for Autodesk to take any liability for the accidental deletion of hundreds of elements. Luckily, there are a few custom nodes available which accomplish the deletion task. After all, Dynamo through its Python scripting has access to the entire Revit API.
My preference is to use the delete node included in the SpringNodes package available from Dynamo’s Package Manager. It is very simple, you feed it Elements, the node deletes them and outputs a text list of element IDs. One thing to note is that you may want to set your session to Manual instead of Automatic before opening/running the file. Here is a sample script you can try on the basic architectural sample project file in Revit (not your production file please).