PUT api/2.0/files/fileops/move This function requires authentication

Description

Moves all the selected files and folders to the folder with the ID specified in the request.

Parameters
Name Description Type Example
DestFolderId
sent in body
Destination folder ID System.Text.Json.JsonElement
ConflictResolveType
sent in body
Overwriting behavior Skip, Overwrite, Duplicate Skip
DeleteAfter
sent in body
Specifies whether to delete a folder after the editing session is finished or not Bool value true
Example
PUT api/2.0/files/fileops/move
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "ConflictResolveType": "Skip",
  "DeleteAfter": true
}
Returns

List of file operations

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