Prompt Buddy logoPrompt Buddy

cloudflare ยท Cloudflare Workers Docs

Workers R2

CLI commands for managing Cloudflare R2 buckets and objects using the Wrangler tool, including creation, information retrieval, deletion, and listing.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers R2

CLI commands for managing Cloudflare R2 buckets and objects using the Wrangler tool, including creation, information retrieval, deletion, and listing.

When To Use

Use when you need to create, delete, list, or inspect the configuration of R2 buckets through the command line interface.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-wrangler-commands-r2-workflow-guide.mdA guide detailing Wrangler CLI commands for creating, inspecting, and deleting Cloudflare R2 buckets.Questions about a guide detailing Wrangler CLI commands for creating, inspecting, and deleting Cloudflare R2 buckets.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-creat.textA command-line example demonstrating how to create a new R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to create a new R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-creat-2.textA command line example demonstrating how to create a new R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to create a new R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-creat-3.textA command line example demonstrating how to create a new R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to create a new R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-info-command.textA command line example demonstrating how to use the wrangler r2 bucket info command to retrieve metadata for a specific R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler r2 bucket info command to retrieve metadata for a specif...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-info-.textA command line example demonstrating how to use the Wrangler CLI to retrieve information about a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve information about a specific Cloudflare...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-info--2.textA command line example demonstrating how to use the wrangler r2 bucket info command to retrieve metadata for a specific R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler r2 bucket info command to retrieve metadata for a specif...
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-delete-comman.textA command line example demonstrating how to delete a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to delete a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-delet.textA command line example demonstrating how to delete a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to delete a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-delet-2.textA command line example demonstrating how to use the Wrangler CLI to delete a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to delete a specific Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-list-command.textA command line example demonstrating how to list all R2 buckets using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list all R2 buckets using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-list-.textA command line example demonstrating how to list R2 buckets using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list R2 buckets using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-list-command-2.textA command line example demonstrating how to list all R2 buckets using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list all R2 buckets using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal.textA command-line instruction for enabling the bucket catalog feature for a specific R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line instruction for enabling the bucket catalog feature for a specific R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-2.textA command line example demonstrating how to enable the bucket catalog feature for a specific R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command line example demonstrating how to enable the bucket catalog feature for a specific R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-3.textA command line example demonstrating how to enable the bucket catalog feature for a specific R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command line example demonstrating how to enable the bucket catalog feature for a specific R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-4.textA command-line example demonstrating how to disable the bucket catalog feature for a specific R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to disable the bucket catalog feature for a specific R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-5.textA command example demonstrating how to disable the bucket catalog feature for a specific R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command example demonstrating how to disable the bucket catalog feature for a specific R2 bucket using the Wrangler...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-6.textA command-line example demonstrating how to disable the bucket catalog feature for a specific R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to disable the bucket catalog feature for a specific R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-catalog-get-c.textA command line example demonstrating how to use the Wrangler CLI to list the contents of a Cloudflare R2 bucket catalog.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to list the contents of a Cloudflare R2 bucket catalog.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-7.textA command line example demonstrating how to use the Wrangler CLI to list the contents of a Cloudflare R2 bucket catalog.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to list the contents of a Cloudflare R2 bucket catalog.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-8.textA command line example demonstrating how to use the Wrangler CLI to list the contents of a Cloudflare R2 bucket catalog.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to list the contents of a Cloudflare R2 bucket catalog.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-9.textThe CLI command syntax for enabling catalog compaction on a Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in The CLI command syntax for enabling catalog compaction on a Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-10.textA command-line example using Wrangler to enable compaction for a specific R2 bucket catalog namespace and table.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to enable compaction for a specific R2 bucket catalog namespace and table.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-11.textA command-line example using Wrangler to enable catalog compaction for a specific Cloudflare R2 bucket and namespace.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to enable catalog compaction for a specific Cloudflare R2 bucket and namespace.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-bucket-catalog-compac.textCLI commands for enabling catalog-level and table-level compaction on Cloudflare R2 buckets using Wrangler.Exact payloads, commands, or snippets shown in CLI commands for enabling catalog-level and table-level compaction on Cloudflare R2 buckets using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-catalog-compa.textA command-line example demonstrating how to disable catalog compaction for a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to disable catalog compaction for a specific Cloudflare R2 bucket using Wran...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-12.textA command-line example using Wrangler to disable compaction for a specific R2 bucket catalog namespace.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to disable compaction for a specific R2 bucket catalog namespace.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-13.textA command-line example using Wrangler to disable catalog compaction for a specific Cloudflare R2 bucket, namespace, and table.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to disable catalog compaction for a specific Cloudflare R2 bucket, namespace, a...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-14.textCLI commands for disabling catalog-level and table-level compaction in Cloudflare R2 buckets using Wrangler.Exact payloads, commands, or snippets shown in CLI commands for disabling catalog-level and table-level compaction in Cloudflare R2 buckets using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-15.textA command-line instruction for enabling snapshot expiration on a Cloudflare R2 bucket catalog using Wrangler.Exact payloads, commands, or snippets shown in A command-line instruction for enabling snapshot expiration on a Cloudflare R2 bucket catalog using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-catalog-snaps.textA command line example using wrangler to enable snapshot expiration for a Cloudflare R2 bucket catalog.Exact payloads, commands, or snippets shown in A command line example using wrangler to enable snapshot expiration for a Cloudflare R2 bucket catalog.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-wrangler-bucket-catal.textA command-line instruction for enabling snapshot expiration on a Cloudflare R2 bucket catalog using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line instruction for enabling snapshot expiration on a Cloudflare R2 bucket catalog using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-catalog-snaps-2.textA command-line example using Wrangler to disable snapshot expiration for a specific Cloudflare R2 bucket catalog namespace and table.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to disable snapshot expiration for a specific Cloudflare R2 bucket catalog name...
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-catalog-snaps-3.textA command-line example using Wrangler to disable snapshot expiration for a specific Cloudflare R2 bucket catalog namespace.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to disable snapshot expiration for a specific Cloudflare R2 bucket catalog name...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-catal-16.textA command-line example using Wrangler to disable snapshot expiration for a specific R2 bucket catalog namespace.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to disable snapshot expiration for a specific R2 bucket catalog namespace.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-cors-.textA command-line example demonstrating how to set CORS configurations for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to set CORS configurations for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-cors--2.textA command-line example demonstrating how to set CORS configurations for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to set CORS configurations for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-cors--3.textA command-line example demonstrating how to set CORS configurations for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to set CORS configurations for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-cors--4.textA command line instruction for deleting CORS configurations from a Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command line instruction for deleting CORS configurations from a Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-cors--5.textA command-line example demonstrating how to use the Wrangler CLI to delete CORS configurations from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to delete CORS configurations from a Cloudflare R2 b...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-cors--6.textA command-line example demonstrating how to use the Wrangler CLI to delete CORS configurations from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to delete CORS configurations from a Cloudflare R2 b...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-cors--7.textA command-line example demonstrating how to list CORS configurations for a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to list CORS configurations for a specific Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-cors-list-com.textA command-line example demonstrating how to list CORS configurations for a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to list CORS configurations for a specific Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-cors-list-com-2.textA command line example demonstrating how to list CORS configurations for a specific Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list CORS configurations for a specific Cloudflare R2 bucket using the Wr...
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-dev-url-enabl.textA command line instruction for enabling a development URL for a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command line instruction for enabling a development URL for a specific Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u.textA command example demonstrating how to enable a development URL for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command example demonstrating how to enable a development URL for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u-2.textA command line instruction for enabling a development URL for a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command line instruction for enabling a development URL for a specific Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u-3.textA command line instruction to disable the development URL for a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command line instruction to disable the development URL for a specific Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u-4.textA command example demonstrating how to disable the development URL for a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command example demonstrating how to disable the development URL for a specific Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u-5.textA command line instruction using Wrangler to disable the development URL for a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line instruction using Wrangler to disable the development URL for a specific Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u-6.textA command line example demonstrating how to use the wrangler r2 bucket dev-url get command to retrieve a bucket's development URL.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler r2 bucket dev-url get command to retrieve a bucket's dev...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u-7.textA command line example demonstrating how to use the wrangler r2 bucket dev-url get command to retrieve a bucket URL.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler r2 bucket dev-url get command to retrieve a bucket URL.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-dev-u-8.textA command line example demonstrating how to use the wrangler r2 bucket dev-url get command to retrieve a bucket URL.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the wrangler r2 bucket dev-url get command to retrieve a bucket URL.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai.textA command-line example demonstrating how to add a custom domain to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a custom domain to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-2.textA command-line example demonstrating how to add a custom domain to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a custom domain to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-3.textA command-line example demonstrating how to add a custom domain to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a custom domain to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-4.textA command-line example demonstrating how to remove a custom domain from a Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to remove a custom domain from a Cloudflare R2 bucket using Wrangler.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-5.textA command-line example demonstrating how to remove a custom domain from a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to remove a custom domain from a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-6.textA command-line example demonstrating how to remove a custom domain from a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to remove a custom domain from a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-7.textA command line example demonstrating how to update a custom domain for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to update a custom domain for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-8.textA command-line example demonstrating how to update the custom domain for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to update the custom domain for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-9.textA command-line example demonstrating how to update the custom domain for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to update the custom domain for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-10.textA command line example demonstrating how to use the Wrangler CLI to retrieve the custom domain associated with a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve the custom domain associated with a spec...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-11.textA command-line example demonstrating how to use the Wrangler CLI to retrieve the custom domain for a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to retrieve the custom domain for a specific Cloudfl...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-12.textA command line example demonstrating how to use the Wrangler CLI to retrieve the public domain of a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve the public domain of a specific Cloudfla...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-13.textA command-line example demonstrating how to list custom domains associated with a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to list custom domains associated with a specific Cloudflare R2 bucket using...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-domai-14.textA command-line example demonstrating how to list the custom domains associated with a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to list the custom domains associated with a specific Cloudflare R2 bucket u...
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-domain-list-c.textA command line example demonstrating how to list the custom domains associated with a specific Cloudflare R2 bucket using Wrangler.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list the custom domains associated with a specific Cloudflare R2 bucket u...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec.textA command-line example demonstrating how to add a lifecycle rule to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a lifecycle rule to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-2.textA command-line example demonstrating how to add a lifecycle rule to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a lifecycle rule to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-3.textA command-line example demonstrating how to add a lifecycle rule to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a lifecycle rule to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-4.textA command-line example demonstrating how to use the Wrangler CLI to remove a lifecycle configuration from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to remove a lifecycle configuration from a Cloudflar...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-5.textA command-line example demonstrating how to use the Wrangler CLI to remove a lifecycle configuration from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to remove a lifecycle configuration from a Cloudflar...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-6.textA command-line example demonstrating how to use the Wrangler CLI to remove a lifecycle configuration from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to remove a lifecycle configuration from a Cloudflar...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-7.textA command-line example using Wrangler to list the lifecycle rules for a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to list the lifecycle rules for a specific Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-8.textA command-line example using wrangler to list the lifecycle rules for a specific Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example using wrangler to list the lifecycle rules for a specific Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-9.textA command line example demonstrating how to list lifecycle rules for a specific Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list lifecycle rules for a specific Cloudflare R2 bucket using the Wrangl...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-10.textA command-line example demonstrating how to set lifecycle rules for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to set lifecycle rules for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-11.textA command-line example demonstrating how to set lifecycle rules for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to set lifecycle rules for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lifec-12.textA command-line example demonstrating how to set a lifecycle configuration for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to set a lifecycle configuration for a Cloudflare R2 bucket using the Wrangl...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock-.textA command-line example demonstrating how to add a bucket lock to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a bucket lock to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--2.textA command-line example demonstrating how to add a bucket lock to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a bucket lock to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--3.textA command-line example demonstrating how to add a bucket lock to a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to add a bucket lock to a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--4.textA command-line example demonstrating how to use the Wrangler CLI to remove a lock from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to remove a lock from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--5.textA command-line example demonstrating how to use the Wrangler CLI to remove a bucket lock from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to remove a bucket lock from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--6.textA command-line example demonstrating how to use the Wrangler CLI to remove a bucket lock from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to remove a bucket lock from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--7.textA command line example demonstrating how to list bucket locks for a specific R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list bucket locks for a specific R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--8.textA command line example demonstrating how to list bucket locks for a specific R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list bucket locks for a specific R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-wrangler-r2-bucket-lock-list-com.textA command line example demonstrating how to list bucket locks for a specific R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to list bucket locks for a specific R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--9.textA command-line example demonstrating how to use the Wrangler CLI to set a bucket lock on a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to set a bucket lock on a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--10.textA command-line example demonstrating how to use the Wrangler CLI to set a bucket lock on a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to set a bucket lock on a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-lock--11.textA command-line example demonstrating how to use the Wrangler CLI to set a lock on a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to set a lock on a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif.textA command-line example demonstrating how to create a bucket notification using the Wrangler CLI for Cloudflare R2.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to create a bucket notification using the Wrangler CLI for Cloudflare R2.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif-2.textA command-line example demonstrating how to use the Wrangler CLI to create a bucket notification for Cloudflare R2.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to create a bucket notification for Cloudflare R2.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif-3.textA command line example demonstrating how to use the Wrangler CLI to create a bucket notification for Cloudflare R2.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to create a bucket notification for Cloudflare R2.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif-4.textA command-line example demonstrating how to use the Wrangler CLI to delete an R2 bucket notification.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to delete an R2 bucket notification.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif-5.textA command-line example demonstrating how to delete an R2 bucket notification using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to delete an R2 bucket notification using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif-6.textA command-line example demonstrating how to use the Wrangler CLI to delete a bucket notification in Cloudflare R2.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to delete a bucket notification in Cloudflare R2.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-bucket-notification-l.textA command-line example using Wrangler to list bucket notifications for a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to list bucket notifications for a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif-7.textA command-line example using Wrangler to list bucket notifications for a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example using Wrangler to list bucket notifications for a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-notif-8.textA command-line example demonstrating how to list bucket notifications for a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to list bucket notifications for a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-sippy.textA command-line instruction for enabling object versioning on a Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command-line instruction for enabling object versioning on a Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-sippy-2.textA command line instruction using pnpm wrangler to enable a bucket with the sippy configuration for Cloudflare R2.Exact payloads, commands, or snippets shown in A command line instruction using pnpm wrangler to enable a bucket with the sippy configuration for Cloudflare R2.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-sippy-3.textA command line example demonstrating how to enable a bucket with the sippy configuration using the Wrangler CLI for Cloudflare R2.Exact payloads, commands, or snippets shown in A command line example demonstrating how to enable a bucket with the sippy configuration using the Wrangler CLI for C...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-disab.textA command line example demonstrating how to disable a specific Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to disable a specific Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-disab-2.textA command line example demonstrating how to disable a specific Cloudflare R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to disable a specific Cloudflare R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-disab-3.textA command line example demonstrating how to disable a specific R2 bucket using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to disable a specific R2 bucket using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-wrangler-bucket-get-c.textA command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-get-c.textA command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-bucket-get-c-2.textA command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-object-get-command.textA command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-get-c.textA command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-get-c-2.textA command-line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command-line example demonstrating how to use the Wrangler CLI to retrieve an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-put-c.textA command line example demonstrating how to use the Wrangler CLI to upload an object to a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to upload an object to a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-put-c-2.textA command line example demonstrating how to use the Wrangler CLI to upload an object to a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to upload an object to a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-put-c-3.textA command line example demonstrating how to use the Wrangler CLI to upload an object to a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to upload an object to a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-delet.textA command line example demonstrating how to use the Wrangler CLI to delete a specific object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to delete a specific object from a Cloudflare R2 buc...
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-delet-2.textA command line example demonstrating how to use the Wrangler CLI to delete an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to delete an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-wrangler-r2-object-delet-3.textA command line example demonstrating how to use the Wrangler CLI to delete an object from a Cloudflare R2 bucket.Exact payloads, commands, or snippets shown in A command line example demonstrating how to use the Wrangler CLI to delete an object from a Cloudflare R2 bucket.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-sql-query-command.textAn example command demonstrating how to execute SQL queries against a Cloudflare R2 database using the Wrangler CLI.Exact payloads, commands, or snippets shown in An example command demonstrating how to execute SQL queries against a Cloudflare R2 database using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-sql-query-command-2.textAn example command demonstrating how to execute SQL queries against a Cloudflare R2 database using the Wrangler CLI.Exact payloads, commands, or snippets shown in An example command demonstrating how to execute SQL queries against a Cloudflare R2 database using the Wrangler CLI.
examples/workers-wrangler-commands-r2-cloudflare-workers-r2-sql-query-command-3.textA command line example demonstrating how to execute a SQL query against a Cloudflare R2 warehouse using the Wrangler CLI.Exact payloads, commands, or snippets shown in A command line example demonstrating how to execute a SQL query against a Cloudflare R2 warehouse using the Wrangler...

What This Skill Covers

  • Manage your R2 configurations using Wrangler.
  • Main sections: r2 bucket, r2 bucket create, r2 bucket info, r2 bucket delete, r2 bucket list.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/wrangler/commands/r2