Rename or move a file
Files
Rename or move a file
POST
Rename or move a file
Authorizations
API key passed as Bearer token
Path Parameters
Sandbox ID (e.g. sb_a1b2c3d4)
Body
application/json
Source sandbox path. Relative paths resolve using the same filesystem contract as PathRequest.path.
Destination sandbox path. Relative paths resolve using the same filesystem contract as PathRequest.path.
Optional sandbox user for relative-path resolution and ownership.
Response
200 - application/json
Renamed file metadata
Absolute resolved filesystem path. For sandbox routes this is an absolute sandbox path; for volume routes this is an absolute volume-internal path rooted at /.
Entry type (e.g. "file", "directory", "symlink")
Example:
"file"
Example:
"0644"
Example:
"0644"