delete
https://apis.elai.io/api/v1/uploads/folders/
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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=..."
]
}
