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 knowledgebase
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

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