Skip to content

Delete Document ​

Removes the document, its stored file, and its index.

Endpoint ​

DELETE /v1/documents/{id}

Response 204 No Content ​

Errors ​

CodeReason
404Document not found

SDK ​

typescript
await client.deleteDocument({ id: doc.id });
python
client.delete_document(id=doc.id)
go
c.DeleteDocument(ctx, *doc.Id, &logidoc.DeleteDocumentRequest{})
bash
curl -X DELETE http://localhost:7042/v1/documents/5d04eeed-...

Released under the MIT License.