Delete Directory
Filesystem
Delete Directory
Delete a directory. Pass recursive=true to remove non-empty directories.
DELETE
Delete Directory
Overview
Removes a directory from the session workspace. By default the directory must be empty — passrecursive=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.