The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in Classic and VPC
Delete the CORS (Cross-Origin Resource Sharing) settings configured for an Ncloud Storage bucket.
For a Sub Account user to run this command, they must have the Change/PutBucketCORS action permission.
Syntax
The delete-bucket-cors syntax is as follows:
aws s3api delete-bucket-cors \
--bucket <bucket> \
--endpoint-url <endpoint-url>
Options
This section describes the options available when running delete-bucket-cors.
Required options
The following options are required for delete-bucket-cors.
| Options | Type | Required | Description |
|---|---|---|---|
--bucket |
String | Required | Bucket name |
Common options
For information about the options common to all aws subcommands, see Ncloud Storage options.
Examples
If the request to delete a CORS rule is successful, the rule is deleted, and no result is displayed.
Command
The command example is as follows:
aws s3api delete-bucket-cors --bucket my-test-bucket \
--endpoint-url=https://kr.ncloudstorage.com
Related commands
Related commands are as follows: