cURL
curl --request DELETE \ --url https://api.starleads.co/KnowledgeBaseChat/{chatId} \ --header 'X-Api-Key: <api-key>'
{ "success": true }
Deletes a knowledge base chat and cascades: detaches it from all connected agents.
Api key to pass as a X-Api-Key request header.
X-Api-Key
ID of the knowledge base chat.
Chat deleted successfully
Generic success response
Indicates the operation was successful