Update Knowledge Base
Update the name or description of an existing knowledge base.
PUT
Only name and description can be changed here. To change the content, use Add Text or Upload File.
Headers
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
200 with a confirmation message. The updated knowledge base is not returned; call Get Knowledge Base to read it back. Sending neither field also returns 200 and changes nothing.
messagestringAlways Knowledge base updated successfully.
Errors
| Status | Body | When |
|---|---|---|
400 | {"message": "X-Workspace-ID header is required"} | No x-workspace-id |
500 | {"message": "..."} | Anything else |
{
"message": "Knowledge base updated successfully"
}Last updated on