delete_nodes

mutationSeit v1.0

Delete one or more nodes. By default, all connected relationships are also deleted (cascade). Set cascade_relationships to false to fail if the node has any relationships.

Parameter

NameTypPflichtfeldStandardBeschreibung
cascade_relationshipsBooleantrue[delete_nodes] If true (default), also delete all relationships connected to the deleted nodes. If false, the operation fails when the node has any relationships.
node_idsArray<String>[delete_nodes] UUIDs of the nodes to delete. Required.

Beispielanfrage

{"node_ids": ["uuid-1", "uuid-2"], "cascade_relationships": true}

Beispielantwort

{"success": true, "operation_count": 3, "versions": [46, 47, 48]}