DELETE Bucket replication

Last updated: 2019-09-25 18:48:23


    The DELETE Bucket replication API is used to delete the cross-region replication configuration from a bucket. When initiating this request, you need to get the request signature to show that the request has been authorized.


    Sample Request

    DELETE /?replication HTTP/1.1
    Host: <BucketName-APPID>.cos.<Region>
    Date: GMT Date
    Authorization: Auth String

    Authorization: Auth String (see Request Signature for details).

    Request Headers

    Common Headers

    The implementation of this request uses a common request header. For more information on common request headers, see Common Request Headers.

    Special Headers

    This request does not use any special request header.

    Request Body

    The request body of this request is empty.


    Response Headers

    Common Response Headers

    This response contains a common response header. For more information on common response headers, see Common Response Headers.

    Special Response Headers

    This response does not have special response headers.

    Response Body

    This response body is empty.



    The following request sample deletes the cross-region replication configuration from the bucket originbucket-1250000000.

    DELETE /?replication HTTP/1.1
    Date: Fri, 14 Apr 2019 07:47:35 GMT
    Authorization: q-sign-algorithm=sha1&q-ak=AKIDZfbOAo7cllgPvF9cXFrJD0a1ICvR98JM&q-sign-time=1503901499;1503901859&q-key-time=1503901499;1503901859&q-header-list=host&q-url-param-list=replication&q-signature=761f3f6449c6a11684464f4b09c6f292f0a4e7e0


    After the request above is made, COS returns a response of 204 No Content, indicating that the cross-region replication configuration has been successfully deleted from the bucket. After the configuration is deleted, COS will no longer replicate the objects in the source bucket to the destination bucket, and the existing object data in the destination bucket will be retained.

    Content-Length: 0
    Connection: keep-alive
    Date: Fri, 14 Apr 2019 07:47:35 GMT
    Server: tencent-cos
    x-cos-request-id: NWQwMzUxMTdfMjBiNDU4NjRfNWZlZF84MjdmZTE=

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback