Skip to main content
PUT
Create Directory

Overview

Creates a directory at the given workspace-relative path. Missing parent directories are created automatically (mkdir -p semantics). Creating an existing directory is a no-op and returns 201.

Path Parameters

string
required
Browser session ID (UUID).

Body

string
required
Workspace-relative directory path to create.
integer
default:"0755"
Unix mode (octal). Applied to the final directory.

Example Request

Response

Success Response (201)

string
The created workspace-relative directory path.
Example Response:

Error Responses