--- title: "delete-bucket-cors" slug: "delete-bucket-cors" updated: 2026-10-08T05:00:29Z published: 2026-10-08T05:00:29Z canonical: "cli.ncloud-docs.com/delete-bucket-cors" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # delete-bucket-cors Available in Classic and VPC Delete the CORS (Cross-Origin Resource Sharing) settings configured for an Ncloud Storage bucket. Note 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 \ --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](/docs/en/storage-ncloudstorage#%EC%98%B5%EC%85%98). ## 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: - [put-bucket-cors](/docs/en/put-bucket-cors) - [get-bucket-cors](/docs/en/get-bucket-cors)