Delete Knowledge Base
Authorization
x-api-key x-api-key<token>
In: header
Request Body
application/json
knowledgeBaseId*string
The ID of the knowledge base.
Length
36 <= length <= 36Response 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"
}