cURL
curl --request PUT \ --url https://api.trugen.ai/v1/knowledgebase/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "Revised HR Policies", "description": "Revised HR and Compensation policy." } '
{ "id": "ff152cd9-efb6-4367-a545-b861c9fbd3d0", "message": "Knowledge Base updated successfully" }
Update name and description of a specific Knowledge Base by ID. Requires x-api-key authentication.
x-api-key
UUID of the Knowledge Base to update
"ff152cd9-efb6-4367-a545-b861c9fbd3d0"
"Revised HR Policies"
"Revised HR and Compensation policy."
Knowledge Base updated successfully
UUID of the updated Knowledge Base.
"Knowledge Base updated successfully"