Skip to main content
PATCH
Move/rename file

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

project_id
string<uuid>

Optional project ID for project-scoped sandbox files

task_id
string<uuid>

Optional isolated task ID for task-scoped sandbox files

sandbox
string

Route file operations to a specific sandbox: cloud, a self-hosted sandbox UUID from the sandbox list, or an unambiguous display name / hostname. UUID values are always interpreted as IDs, never names. Prefer IDs because names can change. When omitted, the Neo-managed cloud sandbox is used. An unavailable or ambiguous selection returns an error and never selects another host.

Body

application/json
key
string
required

Source file key

new_key
string
required

Destination key/path

Response

File moved

error
string
message
string
new_key
string
old_key
string
success
boolean