Get Started
API backend
API system
More information

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 ASC.Web.Files.Services.WCFService.FileOperations.FileConflictResolveType
DeleteAfter
sent in body
Specifies whether to delete a folder after the editing session is finished or not System.Boolean
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

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>