capabilities.work

Get an R2 bucket's lifecycle rules

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

Look something up

Get an R2 bucket's lifecycle rules

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

  • Which objects does my R2 bucket expire automatically?
  • What lifecycle rules are set on a bucket?
Say it to your AI assistant
  • Get the lifecycle rules for bucket {bucket_name} in account {account_id}.
  • Show the object expiration and transition rules on {bucket_name} in {account_id}.
For your developer

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