dcloud s3 bucket-cors delete

Remove every CORS rule: browsers on other sites can no longer call the bucket

IAM s3:PutBucketCORSChanges stateAsks before it deletes (-y skips)

Synopsis

dcloud s3 bucket-cors delete name

Arguments

  • <name>Required

    string

    Also accepted as --name. Constraints: 3-63 chars, /^[a-z0-9][a-z0-9-]*[a-z0-9]$/

Example

dcloud s3 bucket-cors delete name

Generated from the API description, the same one the API checks requests against and the CLI is built from.