How do I execute custom cypher using GRANDstack?

I'd like to create a mutation to DELETE DETACH nodes and relationships, but I'm not clear how to do this.

If you use the auto generated delete mutation it should detach delete itself.