storage::deleteObject
Delete an object. No-op when the object does not exist.
- bucketstringrequired
- keystringrequired
- version_idstring
- deletedbooleanrequired
Object storage across AWS S3, GCS, Cloudflare R2, and a native local filesystem backend. Streamed uploads, signed URLs, and object change triggers.
exact versions are immutable; binary and bundle artifacts are digest-pinned.
Delete an object. No-op when the object does not exist.
Read a small object inline as base64 (10 MiB hard limit). This buffers and inflates the payload; use a GET URL from presignUrl for files and large objects.
Fetch object metadata (size, ETag, content-type, last-modified) without downloading the body.
List configured worker-facing storage buckets and their providers.
List objects and common prefixes in a bucket with provider-native pagination.
Directory separator. Use `/` for the bucket/folder explorer; omit it for a flat recursive listing.
Internal: transactionally apply the authoritative storage configuration without restarting the worker.
Issue a short-lived multipart/form-data POST for direct browser upload without buffering the file in the engine or worker RPC path.
Optional upload cap enforced while the HTTP body is streamed.
Issue a short-lived URL the browser can hit directly to PUT or GET an object.
GET-only: override `Content-Disposition` header on the served response. Rejected with `INVALID_PRESIGN_PARAMS` if set on a PUT presign.
GET-only: override `Content-Type` header on the served response. Rejected with `INVALID_PRESIGN_PARAMS` if set on a PUT presign.
Write a small object inline as base64 (10 MiB hard limit). This buffers and inflates the payload; use presignPost or a presignUrl PUT for files and large objects.
Base64-encoded small body (10 MiB decoded hard limit). The legacy field name `body` is accepted as an alias for backward compatibility.
Serve the storage worker's injected console UI assets (content function for its console:script / console:style triggers).
The asset path from the trigger config (e.g. `state/page.js`).
The asset source, verbatim.
MIME type the console should serve the asset with.
Fires when an object is written to a configured bucket whose notifications source is wired up.
Fires when an object is removed from a configured bucket whose notifications source is wired up.