workspace

Delete a folder (409 if it holds active files; archived files move to root)

By default a folder holding active files is refused with 409 folder_not_empty and archived files inside move up to the parent. Pass cascade=true to permanently delete the entire subtree (files + subfolders, archived included) and sweep its objects.

delete/api/v1/folders/{id}

Request

  • Base URL: https://mdtidy.com
  • URL: https://mdtidy.com/api/v1/folders/{id}
  • Auth: HTTP bearer

Query parameters

cascadeboolean

Hard-delete the whole subtree instead of refusing on active files.

Response

Deleted.

Changes

No recorded changes to this operation across all 1 revision of this API.