mc cors remove
Deletes the Cross-Origin Resource Sharing (CORS) configuration for a bucket.
Syntax
- CLI
-
USAGE: mc cors remove ALIAS/BUCKET FLAGS: --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --help, -h show help
Parameters
Parameter | Description |
---|---|
json |
Enable JSON formatted output. |
debug |
Enable output for debugging. |
insecure |
Disable SSL verification. |
help |
Show this help. |
Examples
-
Remove the CORS configuration for the bucket named
mybucket
with aliasmyminio
:- CLI
-
mc cors remove myminio/mybucket