Skip to main content
PUT
Update Document
This endpoint updates the metadata of an existing document. You can only update the name and description - the document type and content cannot be changed.

Path Parameters

integer
required
The unique identifier of the knowledge base
integer
required
The unique identifier of the document to update

Request Body

string
The new name for the document (max. 255 characters)
string
The new description for the document (max. 255 characters)

Response Fields

string
Success message
object
The updated document object
To update the content of a document, you must delete the existing document and create a new one with the updated content.