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.
Autorização
Authorizationstringheaderobrigatório
Sua chave de API como bearer token: Bearer eroq_sk_…. Crie uma na página de chaves.
DELETE/v1/storage/objects/{id}
Parâmetros de caminho
idstringobrigatório
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 }