Skip to main content
Move or rename a file or directory to a new Viking URI.

Python SDK

HTTP API

Parameters

string
required
Source Viking URI (file or directory to move)
string
required
Destination Viking URI (new location and/or name)

Response

string
Operation status (ok on success)
object
Result object containing source and destination URIs
number
Execution time in seconds

CLI

Notes

  • Both files and directories can be moved
  • The operation is atomic
  • If the destination already exists, it will be overwritten
  • All metadata and relations are preserved
  • Parent directories of the destination are created automatically if needed