Delete nodes and edges in a transaction. Limited to 1000 nodes/edges at a time.
When a node is selected for deletion, all connected incoming and outgoing edges that point to or from it are also deleted. However, please note that the operation might fail if the node has a high number of edge connections. If this is the case, consider deleting the edges connected to the node before deleting the node itself. Nodes and/or edges that do not exist in the graph when the delete request is processed will be ignored. The rationale for this is that the end-state will reflect the desired state regardless of the instance's previous state. Note that attempting to delete something from a space that does not exist will be considered an invalid request, as the API does not affect spaces themselves, only graph nodes and edges.
List of types, spaces, and external-ids for nodes and edges to delete.
required | Array of objects (InstanceDelete) [ 1 .. 1000 ] items |
Nodes or edges that were deleted
The response for a failed request.
{- "items": [
- {
- "instanceType": "node",
- "space": "string",
- "externalId": "string",
- "existingVersion": 0
}
]
}
{- "items": [
- {
- "instanceType": "node",
- "externalId": "string",
- "space": "string"
}
]
}