DELETE
/
datastores
/
{datastore_id}
/
documents
/
{document_id}
curl --request DELETE \
  --url https://api.contextual.ai/v1/datastores/{datastore_id}/documents/{document_id} \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

datastore_id
string
required

Datastore ID of the datastore from which to delete the document

document_id
string
required

Document ID of the document to delete

Response

200
application/json
Successful Response

The response is of type object.