Delete document API

Delete document API deletes a document with the specified ID.

Request

DELETE /v1/documents/<ID>

Path parameters

  • <ID>
         A unique value that identifies the document in the index.

Examples

To delete a document:

$ curl -X DELETE 'http://localhost:8000/v1/documents/1'