Skip to main content
POST /v1/agents/runtime/{runtime_id}/files/move Moves or renames a path. The guest uses the native rename syscall when the source and destination live on the same filesystem, which is atomic and does not copy any data. Across filesystems it falls back to a copy followed by an unlink.

Parameters

Without overwrite, moving onto an existing path fails rather than silently destroying it.

Response (FileMoveResponse)