Set a bucket's lifecycle rules
One step with Cloudflare R2. We can help you get access.
Get something done
Set a bucket's lifecycle rules
with Cloudflare R2
Use Cloudflare R2: its Cloudflare R2 S3-Compatible Lifecycle API lets you set a bucket's lifecycle rules in a single step (PUT /{bucket}?lifecycle). capabilities.work can help you get signed up and connected.
- How do I expire old objects in my R2 bucket automatically?
- Can I define lifecycle rules for a bucket with a PUT request?
Say it to your AI assistant
- Set lifecycle rules {rule} on bucket {bucket}.
- Replace the lifecycle configuration of {bucket} with {rule}.
For your developer
PUT /{bucket}?lifecycle in Cloudflare R2 S3-Compatible Lifecycle API. Full spec on APIs.io.