Get Started
API backend
API system
More information

PUT api/2.0/files/rooms/{id}/unarchive This function requires authentication

Description

Moves a room with the ID specified in the request from the "Archive" section to the "Rooms" section.

Parameters
Name Description Type Example
id
sent in url
Room ID `0
DeleteAfter
sent in body
Specifies whether to archive a room after the editing session is finished or not System.Boolean
Example
PUT api/2.0/files/rooms/{id}/unarchive
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "DeleteAfter": true
}
Returns

File operation

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": "some text",
    "Progress": 1234,
    "Error": "some text",
    "Processed": "some text",
    "Finished": true,
    "Url": "some text"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>some text</Id>
    <Progress>1234</Progress>
    <Error>some text</Error>
    <Processed>some text</Processed>
    <Finished>True</Finished>
    <Url>some text</Url>
  </response>
</result>