Skip to main content
Nowledge Mem

Delete an entity

DELETE
/entities/{entity_id}

Delete one Entity and its incident graph links without deleting any Memory, Source, Label, or Community. Requires an exact entity-id confirmation.

Path Parameters

entity_id*string

Entity id

Query Parameters

confirm_entity_id*string

Must exactly match the entity id in the path.

Response Body

application/json

curl -X DELETE "https://example.com/entities/string?confirm_entity_id=string"
{  "action": "string",  "counts": {    "communities": 0,    "incoming_relations": 0,    "labels": 0,    "mentions": 0,    "outgoing_relations": 0  },  "duplicate_mentions": 0,  "duplicate_relations_removed": 0,  "self_relations_removed": 0,  "source_entity_id": "string",  "target_entity_id": "string",  "warnings": [    "string"  ]}