Skip to main content
POST
Moves (or renames) a file or directory from one path to another on the instance. Works like mv — you can use it to rename files in place or move them to a different directory.

Authentication

Requires an org-level API key or a scoped token with the appropriate permission.

Path Parameters

string
required
The ID of the instance.

Body Parameters

string
required
The current path of the file or directory, relative to the instance root.
string
required
The new path for the file or directory, relative to the instance root.

Response

Returns 204 No Content on success.