Sets the access rights to a room with the ID specified in the request.
Name | Description | Type | Example |
id
sent in url
|
Room ID | number | 1234 |
Invitations
sent in body
|
Collection of invitation parameters |
Collection of ASC.Files.Core.ApiModels.RequestDto.RoomInvitations
collection
|
|
Notify
sent in body
|
Notifies users about the shared room or not | Bool value | true |
Message
sent in body
|
Message to send when notifying about the shared room | string | some text |
PUT api/2.0/files/rooms/1234/share Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Notify": true, "Message": "some text" }
Room security information
{ "status": 0, "response": { "Warning": "some text" } }