/datastores/{id}/documents

Delete Document

Changed on

Delete a given document from its Datastore. This operation is irreversible.

delete/datastores/{datastore_id}/documents/{document_id}

Request

  • Base URL
    https://api.contextual.ai/v1
  • URL
    https://api.contextual.ai/v1/datastores/{datastore_id}/documents/{document_id}
  • Auth
    HTTP bearer

Path parameters

datastore_idstring uuid required

Datastore ID of the datastore from which to delete the document

document_idstring uuid required

Document ID of the document to delete

Response

Successful Response

EmptyResponse required

Changes