Delete Knowledge Base

POSThttps://api.konpro.ai/v1/streaming/knowledge_base/{knowledge_base_id}/delete

Remove 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

TIMESTATUSUSER 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

ParameterTypeDescription
knowledge_base_idstringRequired 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