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

Description

Removes a room with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Room ID number 1234
DeleteAfter
sent in body
Specifies whether to delete a room after the editing session is finished or not Bool value true
Example
DELETE api/2.0/files/rooms/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "DeleteAfter": true
}
Returns

File operation

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