Skip to main content
DELETE
/
chatbots
/
{chatbotId}
/
knowledge-base
/
data-sources
/
{dataSourceId}
Delete data source
curl --request DELETE \
  --url https://api.chatling.ai/v2/chatbots/{chatbotId}/knowledge-base/data-sources/{dataSourceId} \
  --header 'Authorization: Bearer <token>'
{
    "status": "success"
}

Documentation Index

Fetch the complete documentation index at: https://docs.chatling.ai/llms.txt

Use this file to discover all available pages before exploring further.

Request parameters

Path

chatbotId
string
required
The chatbot ID.
dataSourceId
string
required
The data source ID.

Response

status
string
The status of the request. Will be success if the request was successful, otherwise error.
{
    "status": "success"
}