Delete a folder

Deletes the folder and its subfolders. No file is deleted — the files inside fall back to the storage root, keeping their share links, prices and expiry. Removing a file from storage is a separate call (/v1/upload/{uploadId}/delete).

delete/v1/folders/{folderId}

Request

  • Base URL: https://api.payaion.com
  • URL: https://api.payaion.com/v1/folders/{folderId}
  • Auth: one of:
    • API key in header X-Aion-Key
    • HTTP bearer

Path parameters

folderIdstring uuid required

Folder id returned by GET /v1/storage or POST /v1/folders

Response

Folder deleted, files kept

okboolean
folderIdstring
filesKeptboolean

Always true — deleting a folder never removes a file

Changes

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