Move Path
Filesystem
Move Path
Rename or move a workspace path.
PUT
Move Path
Overview
Renames or moves a file or directory within the session’s workspace. Bothfrom and to must be workspace-relative (no leading /, no ..). Cross-filesystem moves are not supported — both paths live inside the same workspace.
Path Parameters
Browser session ID (UUID).
Body
Source workspace-relative path.
Destination workspace-relative path.
Example Request
Response
Success Response (200)
Original workspace-relative path.
New workspace-relative path.
Error Responses
| Status | Description |
|---|---|
400 | Invalid from or to. |
401 | Unauthorized — invalid or missing API key. |
404 | Session or source path not found. |
409 | Destination already exists or crosses a non-directory. |