Update Knowledge Base
Update the name or description of an existing knowledge base.
PUT
Headers
x-api-keystringrequiredAPI key used for authenticating requests to the API.
x-workspace-idstringrequiredWorkspace identifier for the API.
Path Parameters
idstringrequiredThe unique identifier of the knowledge base to update.
Request Body
namestringUpdated name for the knowledge base.
descriptionstringUpdated description for the knowledge base.
Response Fields
_idstringUnique identifier for the knowledge base.
namestringUpdated name of the knowledge base.
descriptionstringUpdated description of the knowledge base.
{
"_id": "665a1b2c3d4e5f6a7b8c9d0e",
"name": "Updated Product Docs",
"description": "Updated documentation and FAQs",
"workspaceId": "664a1b2c3d4e5f6a7b8c9d0e",
"updatedAt": "2024-06-02T09:00:00.000Z"
}