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

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"
}