tencent cloud

masukan

DELETE BucketIntelligentTiering

Terakhir diperbarui:2024-06-21 09:58:46

    Description

    DELETE Bucket intelligenttiering is used to delete the intelligent tiering archive tier and deep archive tier rules from a bucket. Users must provide the name of the rule to be deleted.
    Note:
    When making this request, please ensure you have the DeleteBucketIntelligentTiering permission.
    The bucket owner has such permission by default. If you do not have the permission, please first request it from the bucket owner.

    Request

    Sample request

    DELETE /?intelligent-tiering&id=Id HTTP/1.1
    Host: <BucketName-APPID>.cos.<Region>.myqcloud.com
    Date: GMT Date
    Authorization: Auth String
    Note
    Host: <BucketName-APPID>.cos.<Region>.myqcloud.com, where <BucketName-APPID> is the bucket name with the APPID suffix, for example, examplebucket-1250000000. For details, refer to Bucket Overview>Basic Information and Bucket Overview>Bucket Naming Conventions documentation; <Region> refers to the available regions of COS. For details refer to Regions and Access Endpoints documentation.
    Authorization: Auth String (For details, please refer to the Request Signature documentation).

    Request parameters

    To call DELETE Bucket intelligenttiering, you need to use the rule name parameter, which only supports being specified as non-default, for deleting archive and deep archive tier rules.
    Parameter
    Description
    Type
    Required or Optional
    id
    The name of an intelligent tiering rule name list task, with the id set to a non-default string, indicating that the rule is an archive tier or deep archive tier transition rule.
    String
    Yes

    Request Header

    This interface uses only common request headers. For details, refer to the Common Request Headers documentation.

    Request Body

    The request body of this request is empty.

    Response

    Response Header

    This API only returns common response headers. For details, refer to Common Response Headers.

    Response Body

    The response body returned is empty.

    Error Code

    This API adheres to standardized error responses and codes. For details, refer to the Error Codes documentation.

    Real-world case

    Request

    The following request example shows how to delete the intelligent tiering archive and deep archive tier rule named rule1 from the bucket examplebucket-1250000000.
    DELETE /?intelligent-tiering&id=rule1 HTTP/1.1
    Date: Mon, 28 Aug 2018 02:53:38 GMT
    Authorization: q-sign-algorithm=sha1&q-ak=AKIDZfbOAo7cllgPvF9cXFrJD0a1ICvR****&q-sign-time=1503901499;1503901859&q-key-time=1503901499;1503901859&q-header-list=host&q-url-param-list=inventory&q-signature=761f3f6449c6a11684464f4b09c6f292f0a4****
    Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.com

    Response

    After the above request, COS returns a 204 No Content response, indicating that the intelligent tiering rule named rule1 has been successfully deleted from the bucket.
    HTTP/1.1 204 No Content
    Server: tencent-cos
    Date: Mon, 28 Aug 2018 02:53:40 GMT
    x-cos-id-2:0dfafa/DAPDIFdafdsfDdfSFFfdfKKJdafasiuKJK2
    x-cos-request-id: NTlhM2I3M2JfMjQ4OGY3MGFfMWE1NF84****
    
    
    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