Delete Knowledge Base
POST
https://api.konpro.ai/v1/streaming/knowledge_base/{knowledge_base_id}/deleteRemove an existing knowledge base from your account permanently by specifying its unique ID. This action cannot be undone.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
cURL Request
shell
curl --request POST \
--url https://api.konpro.ai/v1/streaming/knowledge_base/<knowledge_base_id>/delete \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'Path Parameter
| Parameter | Type | Description |
|---|---|---|
| knowledge_base_id | string | Required unique identifier of the knowledge base to delete |
Response
Response Structure
Returns success confirmation upon deletion or error details if the operation fails.
Sample Successful Response
json
{
"knowledge_base_id": "kb_001",
"status": "deleted",
"message": "Knowledge base deleted successfully"
}Notes
- Requires API authentication.
- The knowledge_base_id must exist in your account.
- This action is permanent and cannot be undone.
- All data associated with the knowledge base will be permanently removed.
- Refer to Error Responses for error information.
Example Usage
Shell
curl --request POST \
--url https://api.konpro.ai/v1/streaming/knowledge_base/<knowledge_base_id>/delete \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request