Get Started
API backend
API system
More information

PUT api/2.0/files/file/{fileId}/comment This function requires authentication

Description

Updates a comment in a file with the ID specified in the request.

Parameters
Name Description Type Example
fileId
sent in url
File ID `0
Version
sent in body
File version System.Int32
Comment
sent in body
Comment text System.String
Example
PUT api/2.0/files/file/{fileid}/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Version": 1234,
  "Comment": "some text"
}
Returns

Updated comment