Delete document
DELETE/documents/:id
Deletes a document by ID. The graph-lineage purge runs first: nodes whose only lineage parent was this document are removed from the graph and their search-index / embedding entries purged. The document row is deleted last. Admin only.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 500
No content
Missing document ID
Unauthorized
Forbidden
Document not found
Internal server error