Sets an external or invitation link with the ID specified in the request.
Name | Description | Type | Example |
id
sent in url
|
Room ID | number | 1234 |
Title
sent in body
|
Link name | string | some text |
LinkType
sent in body
|
Link type (Invitation or External) | ASC.Files.Core.ApiModels.ResponseDto.LinkType | |
Password
sent in body
|
Link password | string | some text |
DenyDownload
sent in body
|
Specifies whether downloading a file from a link is disabled or not | Bool value | true |
PUT api/2.0/files/rooms/1234/links Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Title": "some text", "Password": "some text", "DenyDownload": true }
Room security information
{ "status": 0, "response": { "Access": "ReadWrite", "IsLocked": true, "IsOwner": true, "CanEditAccess": true } }