v1

latestOpenAPI 3.1.0MIT2026-07-1799111346.8 KB

Move a single file

Moves one object from a source remote and path to a destination remote and path.

post/operations/movefile

Query parameters

srcFsstring

Source remote name or path containing the file to move.

srcRemotestring

Path to the source object within srcFs.

dstFsstring

Destination remote name or path where the file will be moved.

dstRemotestring

Destination path within dstFs for the moved object.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Headers

Prefer'respond-async'

Set to "respond-async" with _async=true to receive HTTP 202 instead of 200.

Request body

srcFsstring

Source remote name or path containing the file to move.

srcRemotestring

Path to the source object within srcFs.

dstFsstring

Destination remote name or path where the file will be moved.

dstRemotestring

Destination path within dstFs for the moved object.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Response

Request succeeded returning an empty JSON object.

object required