Delete a document
DELETE/api/v1/documents/:documentId
Delete a document and all its data (embedding vectors, storage, metadata). Required scope: documents:write. success is false when any cleanup step produced a warning (honest semantics). warnings is always present (empty array on clean delete).
Request
Responses
- 200
- 401
- 403
- 404
- 429
Document deleted.
Unauthorized — missing or invalid API key
Forbidden — key lacks required scope
Not Found
Too Many Requests — rate limit exceeded