Folders

Delete a folder

Soft-deletes an empty folder. A folder containing active child folders, ready files, or live pending uploads responds 409 with code folder_not_empty; when live pending uploads block deletion, error.details.pendingFileIds lists those file ids. Pending uploads past their upload expiry window do not block deletion. Move, cancel, or wait for expiry, then retry.

delete/api/v1/folders/{folderId}

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/folders/{folderId}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

folderIdstring required

Response

The folder was deleted.

deletedtrue required

Changes

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