Skip to main content
POST
Make Directory
Creates a directory at the specified path, including all necessary parent directories. Equivalent to mkdir -p. If the directory already exists, the operation succeeds silently.

Path Parameters

string
required
The sandbox identifier. Format: sbx-<8 chars>.

Request Body

string
required
Absolute path of the directory to create inside the sandbox. All intermediate directories are created automatically.Example: "/home/user/data/output/results"
string
Unix user to own the created directory. Defaults to the envd default user.

Response

Returns the envd mkdir confirmation as a JSON object.

Example

Error Responses