Get Started
Usage API
More information

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

Description

Returns the external link to the shared file with the ID specified in the request

Parameters
Name Description Type Example
fileId
sent in url
File ID string some text
share
sent in body
Access right None, ReadWrite, Read, Restrict, Varies, Review, Comment, FillForms, CustomFilter
Example
PUT api/2.0/files/some+text/sharedlink
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "share": "none"
}
Returns

Shared file link