Delete a directory. Pass recursive=true to remove non-empty directories.
recursive=true to remove a non-empty tree. To remove a single file, use DELETE /fs/file instead.
true, delete the directory and all its contents. When false, the call fails with 409 if the directory is non-empty.| Status | Description |
|---|---|
400 | Invalid path. |
401 | Unauthorized — invalid or missing API key. |
404 | Session or directory not found. |
409 | Directory is not empty and recursive was not set, or target is not a directory (ENOTDIR). |