capabilities.work

Bulk delete R2 objects by key list or prefix

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

Get something done

Bulk delete R2 objects by key list or prefix

Use Cloudflare R2: its Cloudflare R2 Cloudflare R2 Object API lets you bulk delete R2 objects by key list or prefix in a single step (DELETE /accounts/{account_id}/r2/buckets/{bucket_name}/objects). capabilities.work can help you get signed up and connected.

  • How do I delete many objects from an R2 bucket in one request?
  • Can I wipe every object under a key prefix in a bucket with one call?
  • What happens when I delete by prefix instead of sending a list of keys?
Say it to your AI assistant
  • Bulk delete the listed objects from bucket {bucket_name} on account {account_id}.
  • Start a prefix-delete job removing everything under {prefix} in bucket {bucket_name} on account {account_id}.
  • Bulk delete objects from bucket {bucket_name} in account {account_id} within jurisdiction {jurisdiction}.
For your developer

DELETE /accounts/{account_id}/r2/buckets/{bucket_name}/objects in Cloudflare R2 Cloudflare R2 Object API. Full spec on APIs.io.