DELETE

Delete nodes or relationships

The DELETE clause is used to delete nodes and relationships identified within a MATCH clause, possibly qualified by a WHERE.

Reference: DELETE manual page
Related: :help MATCH :help WHERE :help RETURN :help REMOVE :help Cypher
MATCH (n)-[r]-() WHERE n.name = 'Soren' DELETE r
Remove all of Soren's friends.