Denser Retriever

Delete Document

POST
/v1/deleteDocument

Authorization

x-api-key
x-api-key<token>

In: header

Request Body

application/json

documentId*string

The ID of the document.

Length1 <= length <= 128

Response Body

application/json

application/json

application/json

curl -X POST "https://retriever.denser.ai/api/open/v1/deleteDocument" \  -H "Content-Type: application/json" \  -d '{    "documentId": "string"  }'
{
  "success": true,
  "data": {
    "id": "string"
  }
}
{
  "success": false,
  "message": "string",
  "data": {},
  "errorCode": "STORAGE_LIMIT_EXCEEDED"
}
{
  "success": false,
  "message": "string",
  "data": {},
  "errorCode": "INPUT_VALIDATION_FAILED"
}