Sets the access status for the external link to the file with the ID specified in the request.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | number | 1234 |
Share
sent in body
|
Sharing rights | ASC.Files.Core.Security.FileShare |
PUT api/2.0/files/1234/setacelink Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Share": "ReadWrite" }
Boolean value: true if the file is successfully shared