Delete Bucket Replication

Last updated:2021-09-14 16:18:08

Description

You can call this operation to disable the replication rule of a source bucket. If replication is not configured for the source bucket, the HTTP status code 204 is returned.

Permission

To call this operation, you must have the DeleteBucketReplication permission on the bucket.

Request

Request syntax

Delete /?crr HTTP/1.1
Host: {BucketName}.{endpoint}
Date: {date}
Authorization: {SignatureValue}

Request parameters

This operation does not involve request parameters.

Request headers

Operation-specific errors

This operation does not return operation-specific errors. If no replication rule is configured for the bucket, the HTTP status code 204 is returned, without any errors.

Response

Response headers

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

Response body

None

Examples

Sample request

Delete /?crr HTTP/1.1
Host: ks3-example.ks3-cn-beijing.ksyuncs.com
Date: Wed, 01 Mar 2016 12:00:00 GMT
Authorization: authorization string

Sample response

HTTP/1.1 200 OK
Date: Tue, 19 Jul 2016 09:28:34 GMT
Server: Tengine
X-Kss-Request-Id: 54a47bda18ac4e6e91de369add54218e
Content-Length: 0

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.

问题反馈