Skip to main content
PUT
Move Path

Overview

Renames or moves a file or directory within the session’s workspace. Both from and to must be workspace-relative (no leading /, no ..). Cross-filesystem moves are not supported — both paths live inside the same workspace.

Path Parameters

string
required
Browser session ID (UUID).

Body

string
required
Source workspace-relative path.
string
required
Destination workspace-relative path.

Example Request

Response

Success Response (200)

string
Original workspace-relative path.
string
New workspace-relative path.
Example Response:

Error Responses