API reference · Storage

Storage · delete

Delete a stored object from the CDN.

DELETE/v1/storage/objects/{id}free
view as markdown

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

curl -X DELETE https://eroq.ai/v1/storage/objects/OBJECT_ID \
  -H "Authorization: Bearer $EROQ_API_KEY"
/v1/storage/objects/{id}
→ DELETE /v1/storage/objects/0b52…
Press run — this replays a real exchange from the docs' own data. No key, no request, no charge.

Response

200 · application/json
{ "id": "0b52…", "object": "storage.object", "deleted": true }