Delete a single asset, or bulk-delete every asset on your account. Deleting an asset removes it from any products and orders it was attached to — past customers lose access to anything they hadn’t already downloaded. Use carefully.
Requires Bearer authentication with your Fileflare key. Rate-limited to 60 requests per minute.
Endpoint
DELETE https://app.digital-downloads.com/api/v1/assets/{asset}
Parameters
Path
{asset}— UUID of the asset to delete
Example request
# Delete a single asset
curl -X DELETE https://app.digital-downloads.com/api/v1/assets/82664d96-6dfd-4343-96b0-05c46f412a5b \
-H "Authorization: Bearer YOUR_API_KEY"
# Delete ALL assets on the account (irreversible)
curl -X POST https://app.digital-downloads.com/api/v1/assets/deleted-all \
-H "Authorization: Bearer YOUR_API_KEY"
Example response — 202 Accepted
{
"deleted": true
}
Notes
- Returns 202 Accepted — deletion is queued and processed asynchronously. The asset is removed from listings immediately, but storage cleanup happens in the background.
- Single delete:
DELETE /api/v1/assets/{asset}. - Bulk delete (everything):
POST /api/v1/assets/deleted-all— destructive, no confirmation. Use only when you’re sure. - Past customers lose access to deleted assets the next time they try to download. Their existing local copies are unaffected.
Common errors
- 404 — asset doesn’t exist on your account.