Actions17
- Bucket Actions
- Object Actions
- Batch Operations Actions
Bucket → Delete
AI-generatedSummary
Delete a Cloudflare R2 bucket.
Inputs
- bucketName (required) — The name of the R2 bucket to delete. Must be unique across all R2.
Output shape
A JSON object with a success flag and a message, e.g. {"success": true, "message": "Bucket
On success a message is returned; errors are thrown as NodeOperationError and not wrapped in a response body.
Examples
Example 1: Delete bucket named my-r2-bucket
Bucket Name = my-r2-bucket