DELETE Bucket CORS

Last updated:2021-06-15 20:56:34

Description

You can call this operation to delete the CORS configuration of your bucket.

To call this operation, you must have permission to perform the PutCORSConfiguration operation. The owner of a bucket has this permission by default and can grant it to others.

Request

Request syntax

DELETE /?cors HTTP/1.1
Host: {BucketName}.{endpoint}
Date: {date}
Authorization: {SignatureValue}

References:

Request parameters

No request parameter is used.

Request headers

This operation uses only common request headers. For more information, see Public Request Header.

Request body

No request body is used.

Response

Response headers

This operation uses only common response headers. For more information, see Public Response Header.

Response body

No response body is returned.

Examples

Sample request

DELETE /?cors HTTP/1.1
Host: ks3-example.ks3-cn-beijing.ksyun.com
Date: Wed, 24 Dec 2014 03:12:40 GMT
Authorization: Authorization String

Sample response

HTTP/1.1 204 No Content
Date: Wed, 24 Dec 2014 03:12:40 GMT
Server: Tengine
Content-Length: 0
x-kss-request-id: 73a50b1275954392bfa62eaf062601af

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈