capabilities.work

Change an R2 bucket's default storage class

One step with Cloudflare. We can help you get access.

Get something done

Change an R2 bucket's default storage class

Use Cloudflare: its Cloudflare R2 Bucket API lets you change an R2 bucket's default storage class in a single step (PATCH /accounts/{account_id}/r2/buckets/{bucket_name}). capabilities.work can help you get signed up and connected.

  • Can I change the default storage class for new objects in an R2 bucket?
  • What happens to existing objects when I update a bucket's storage class?
Say it to your AI assistant
  • Set the default storage class of R2 bucket {bucket_name} in account {account_id} to {storageClass}.
  • Change the storage class for new uploads in {bucket_name} to {storageClass}.
For your developer

PATCH /accounts/{account_id}/r2/buckets/{bucket_name} in Cloudflare R2 Bucket API. Full spec on APIs.io.