tencent cloud


DELETE Bucket lifecycle

Last updated: 2021-10-22 12:56:14


    This API is used to delete the lifecycle configuration set for a bucket. If no lifecycle rule is configured for the bucket, NoSuchLifecycleConfiguration will be returned.

    API Explorer is recommended.
    API Explorer makes it easy to make online API calls, verify signatures, generate SDK code, search for APIs, etc. You can also use it to query the content of each request as well as its response.


    Sample request

    DELETE /?lifecycle 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

    The request body of this request is empty.


    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.



    DELETE /?lifecycle HTTP/1.1
    Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.com
    Date: Wed, 16 Aug 2017 12:59:09 GMT


    HTTP /1.1 204 No Content
    Content-Type: application/xml
    Date: Wed, 16 Aug 2017 12:59:09 GMT
    Server: tencent-cos
    x-cos-request-id: NTk5NDQxOWNfMjQ4OGY3Xzc3NGRf****

    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