cURL
curl --request PUT \ --url https://api.trillet.ai/v1/api/knowledgebase/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "name": "<string>", "description": "<string>" } '
{ "_id": "665a1b2c3d4e5f6a7b8c9d0e", "name": "Updated Product Docs", "description": "Updated documentation and FAQs", "workspaceId": "664a1b2c3d4e5f6a7b8c9d0e", "updatedAt": "2024-06-02T09:00:00.000Z" }
Update the name or description of an existing knowledge base.