cURL
curl --request DELETE \ --url https://api.chatling.ai/v2/chatbots/{chatbotId}/knowledge-base/data-sources/{dataSourceId} \ --header 'Authorization: Bearer <token>'
{ "status": "success" }
Delete a data source from the knowledge base.
The chatbot ID.
The data source ID.
The status of the request. Will be success if the request was successful, otherwise error.
success
error