Denser Retriever

Delete Knowledge Base

POST
/v1/deleteKnowledgeBase

Authorization

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

In: header

Request Body

application/json

knowledgeBaseId*string

The ID of the knowledge base.

Length36 <= length <= 36

Response Body

application/json

application/json

application/json

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