PUT api/2.0/files/rooms/{id}/share
Sets the access rights to a room with the ID specified in the request.
Name |
Description |
Type |
Example |
id
sent in url
|
Room ID
|
`0
|
|
Invitations
sent in body
|
Collection of invitation parameters
|
System.Collections.Generic.IEnumerable{ASC.Files.Core.ApiModels.RequestDto.RoomInvitation}
|
|
Notify
sent in body
|
Notifies users about the shared room or not
|
System.Boolean
|
|
Message
sent in body
|
Message to send when notifying about the shared room
|
System.String
|
|
PUT api/2.0/files/rooms/{id}/share
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Notify": true,
"Message": "some text"
}
Room security information
application/json
{
"status": 0,
"response": {
"Warning": "some text"
}
}
text/xml
<result>
<status>0</status>
<response>
<Warning>some text</Warning>
</response>
</result>