Delete a folder and everything in it

Recursive and permanent. Deletes the folder, every descendant folder, and every asset inside that subtree — including the stored files.

The response returns signed URLs for the deleted assets (uploadUrls), captured before deletion, so the caller can offer an undo-by-re-upload. Videos referencing those assets are not updated.

Asset deletion runs at most 10 at a time and is not transactional.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

🚧

Before you call this

Recursive and permanent. Deletes the folder, every descendant folder, and every asset inside that subtree — including the stored files.

curl -X DELETE 'https://apis.elai.io/api/v1/uploads/folders/66a1f0c2b7cd13032a9c6500' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
{
  "message": "Upload folder deleted successfully",
  "uploadUrls": [
    "https://cdn.example.com/uploads/logo.png?Expires=..."
  ]
}
Path Params
string
required
Responses

locked and the increaseUserLockedRolePrivileges feature flag is off.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json