curl --request PUT \
--url https://api.cleartalk.ai/knowledge-base/{knowledgeBaseId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and policies"
}
'curl --request PUT \
--url https://api.cleartalk.ai/knowledge-base/{knowledgeBaseId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "Updated Company FAQs",
"description": "Updated frequently asked questions and policies"
}
'API Key for authentication
Knowledge base ID from cleartalk AI
Knowledge base updated successfully