Actions17
- Bucket Actions
- Object Actions
- Batch Operations Actions
Bucket → Delete CORS
AI-generatedSummary
Delete the CORS configuration for an R2 bucket
Inputs
- bucketName (required) — The name of the R2 bucket whose CORS configuration should be deleted
Output shape
an object containing a success flag and a message confirming deletion
Only a success message is returned; errors are propagated as exceptions
Examples
Example 1: Remove CORS rules from a bucket
Set bucketName to 'my-r2-bucket'