Delete Document
Authorization
x-api-key x-api-key<token>
In: header
Request Body
application/json
documentId*string
The ID of the document.
Length
1 <= length <= 128Response 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"
}