Delete a vault folder
API reference

Delete a vault folder

Deletes a folder you own. **Non-empty folders are allowed**: the items inside are preserved and fall back to "All" (unfiled) — nothing is removed from storage. System folders (compliance archives) cannot be deleted.

View as MarkdownUpdated Aug 19, 2026
DELETE/api/external/vault/folders/{folderId}

Deletes a folder you own. Non-empty folders are allowed: the items inside are preserved and fall back to "All" (unfiled) — nothing is removed from storage. System folders (compliance archives) cannot be deleted.

Authentication

Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.

Path parameters

NameTypeRequiredDescription
folderIdstringRequiredThe folder id.

Responses

200Deleted; contained items are now unfiled.
NameTypeDescription
successbooleanAlways true.
Example response
{
  "success": true
}

Errors

StatusBodyWhen
400{"error":"This folder is managed automatically and cannot be deleted."}The folder is a system folder.
401{"error":"Unauthorized","code":"unauthorized"}Missing or invalid API key.
404{"error":"Folder not found"}No such folder on this account.
500{"error":"Failed to delete vault folder"}Write failed — retry later.

Rate limiting

Every response carries the X-RateLimit-Tier header and, on limited tiers, the per-minute and per-day trios — read X-RateLimit-Remaining and X-RateLimit-Reset instead of hardcoding limits. Details in Rate limits.

Code samples

curl -X DELETE "https://www.dropfans.io/api/external/vault/folders/$FOLDER_ID" \
  -H "Authorization: Bearer $DROPFANS_API_KEY"

Questions? [email protected]