v1
protected
files

Move Workspace File

Relocate a workspace file or folder to another path.

A folder is a key prefix rather than an object, so moving one walks every key beneath it — including the trailing-slash marker that keeps an empty folder visible in the listing. Reserved prefixes are refused at both ends: tasks/ belongs to a task's committed manifest, and .trash/ is the restore endpoint's alone.

post/v1/files/move

Request body

destinationstring required
sourcestring required

Response

Successful Response

destinationstring required
movedinteger required
sourcestring required

Changes