tencent cloud

masukan

DELETE Bucket lifecycle

Terakhir diperbarui:2024-11-06 17:34:24

    Overview

    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.
    

    Request

    Sample request

    DELETE /?lifecycle HTTP/1.1
    Host: <BucketName-APPID>.cos.<Region>.myqcloud.com
    Date: GMT Date
    Authorization: Auth String
    Note:
    In Host: <BucketName-APPID>.cos.<Region>.myqcloud.com, <BucketName-APPID> is the bucket name followed by the APPID, such as examplebucket-1250000000 (see Bucket Overview > Basic Information and Bucket Overview > Bucket Naming Conventions), and <Region> is a COS region (see Regions and Access Endpoints).
    Authorization: Auth String (See Request Signature for details.)

    Request headers

    This API only uses Common Request Headers.

    Request body

    The request body of this request is empty.

    Response

    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.

    Samples

    Request

    DELETE /?lifecycle HTTP/1.1
    Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.com
    Date: Wed, 16 Aug 2017 12:59:09 GMT
    Authorization:q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1502859472;1502939472&q-key-time=1502859472;1502939472&q-header-list=host&q-url-param-list=lifecycle&q-signature=****************************************

    Response

    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****
    
    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24