Deletes the cross-origin resource sharing (CORS) rules of a bucket.
Syntax
ossutil api delete-bucket-cors --bucket value [flags]
|
Parameter |
Type |
Description |
|
--bucket |
string |
The name of the bucket whose CORS rules you want to delete. |
Note
For more information, see Command-line options.
Examples
Delete the CORS configuration of a bucket named examplebucket:
ossutil api delete-bucket-cors --bucket examplebucket