Skip to main content
DELETE
Delete Directory

Overview

Removes a directory from the session workspace. By default the directory must be empty — pass recursive=true to remove a non-empty tree. To remove a single file, use DELETE /fs/file instead.

Path Parameters

string
required
Browser session ID (UUID).

Query Parameters

string
required
Workspace-relative directory path to delete.
boolean
default:"false"
When true, delete the directory and all its contents. When false, the call fails with 409 if the directory is non-empty.

Example Request

Response

Success Response (204)

No content.

Error Responses