tencent cloud


PUT Bucket Accelerate

Last updated: 2021-11-17 12:15:15


    This API is used to enable or suspend global acceleration for a bucket.


    1. If you have never enabled global acceleration for the bucket, the global acceleration status will not be returned even if you call this API.
    2. Once enabled, global acceleration can only be suspended but cannot be disabled.
    3. Valid values of global acceleration Status are Enabled and Suspended.
    4. If a sub-account needs to set global acceleration for a bucket, it needs to have permission to write the configuration.


    Sample request

    PUT /?accelerate HTTP 1.1
    Host: <BucketName-APPID>.cos.<Region>.myqcloud.com
    Date: GMT date
    Authorization: Auth String

    Request headers

    This API only uses Common Request Headers.

    Request body

    <AccelerateConfiguration xmlns="cos xmlns/"> 

    The nodes are described as follows:

    Node Name (Keyword) Parent Node Description Type
    AccelerateConfiguration None Information about global acceleration Container
    Status AccelerateConfiguration Whether to enable global acceleration. Enumerated values: Suspended, Enabled Enum


    Response headers

    This API only returns Common Response Headers.

    Response body

    The response body is empty.

    Error codes

    This API returns common error responses and error codes. For more information, please see Error Codes.



    PUT /?accelerate HTTP/1.1
    Host: examplebucket-1250000000.cos.ap-chengdu.myqcloud.com
    Connection: keep-alive
    Authorization: authorization string
    Content-Type: text/plain
    Content-Length: 83


    HTTP/1.1 200 OK
    Content-Type: application/xml
    Content-Length: 0
    Connection: keep-alive
    Date: Wed, 23 Aug 2019 08:14:53 GMT
    Server: tencent-cos
    x-cos-request-id: NTk5ZDM5N2RfMjNiMjM1MGFfMmRiX2Y0****

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support