Update a Knowledge base name or description
Knowledge Folder API
Update Knowledge base
Rename a Knowledge base or update its description
PATCH
Update a Knowledge base name or description
Updates the name or description of an existing Knowledge base. This is not the file replace route. To replace a file, use Update a file.
Before You Start
- API key scope: Requires an API key with the
KNOWLEDGE_FOLDER_APIscope. The API key itself needs the Editor role on the Knowledge base. See Share Knowledge bases with the API for setup instructions. - Knowledge bases: The Knowledge Folder API manages resources that appear as Knowledge bases in the Library.
Base URL
Request Format
This endpoint acceptsapplication/json.
Path Parameters
Request Body
Include at least one field. There is no public endpoint to create or delete a Knowledge base.
Examples
Update with cURL
Update with JavaScript
Response Format
Success Response (200 OK)
Example Response
Error Handling
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.