eroq

Storage

Storage · delete

Delete a stored object from the CDN.

free

Removal is immediate on the storage origin; edge caches drain within minutes. Upload credits are not refunded — the storage was consumed.

Authorization

Authorizationstringheaderrequired

Your API key as a bearer token: Bearer eroq_sk_…. Create one on the keys page.

DELETE/v1/storage/objects/{id}

Path parameters

idstringrequired

The object's id, as listed or created.

Delete a stored object from the CDN
curl -X DELETE https://eroq.ai/v1/storage/objects/OBJECT_ID \
  -H "Authorization: Bearer $EROQ_API_KEY"
{ "id": "0b52…", "object": "storage.object", "deleted": true }