Deletes the files and folders with the IDs specified in the request.
Name | Description | Type | Example |
DeleteAfter
sent in body
|
Specifies whether to delete a file after the editing session is finished or not | System.Boolean | |
Immediately
sent in body
|
Specifies whether to move a file to the "Trash" folder or delete it immediately | System.Boolean |
PUT api/2.0/files/fileops/delete Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "DeleteAfter": true, "Immediately": true }
List of file operations