Moves a room with the ID specified in the request to the "Archive" section.
Name | Description | Type | Example |
id
sent in url
|
Room ID | number | 1234 |
DeleteAfter
sent in body
|
Specifies whether to archive a room after the editing session is finished or not | Bool value | true |
PUT api/2.0/files/rooms/1234/archive Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "DeleteAfter": true }
File operation
{ "status": 0, "response": { "Id": "some text", "Progress": 1234, "Error": "some text", "Processed": "some text", "Finished": true, "Url": "some text" } }