Delete the blob and the catalog row. `404` if absent. Receipted.
DELETE
/v0/projects/{id}/storage/objects
const url = 'https://infra-hyphae.run/v0/projects/example/storage/objects';const options = { method: 'DELETE', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"bucket":"example","key":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://infra-hyphae.run/v0/projects/example/storage/objects \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "bucket": "example", "key": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
bucket
required
S3-compatible bucket name so the same name works on every backend.
string
key
required
string
Examplegenerated
{ "bucket": "example", "key": "example"}Responses
Section titled “ Responses ”The removed row.
Media typeapplication/json
Catalog row. etag and size are the blob store’s (S3/MinIO ETag, or SHA-256 hex on the filesystem backend); the Cloud computes nothing else about the bytes. Native is not involved.
object
id
required
string
project
required
string
bucket
required
S3-compatible bucket name so the same name works on every backend.
string
key
required
string
size
required
integer
etag
required
string
content_type
required
string
backend
required
string
state
required
string
created_at
required
RFC 3339, UTC.
string format: date-time
updated_at
required
RFC 3339, UTC.
string format: date-time
Example
{ "backend": "fs", "state": "pending"}Malformed or out-of-bounds input (invalid_request).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}Missing, malformed, duplicate, or unknown credential (authentication_required).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}Headers
Section titled “Headers”WWW-Authenticate
string
Unknown route, or a project the caller does not own (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}The engine failed to start or did not answer (upstream_unavailable).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}