SmartMemory
DELETE
/memory/graph/nodes/{node_id}

Delete an entity node and all its edges from the graph.

Uses DETACH DELETE to remove the node and every relationship attached to it. For memory nodes prefer DELETE /memory/{id} which also handles MongoDB cleanup.

Path Parameters

node_id*Node Id

Response Body

application/json

application/json

curl -X DELETE "https://example.com/memory/graph/nodes/string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}