tencent cloud

Feedback

DELETE Bucket Origin

Last updated: 2024-03-28 18:12:17

    Overview

    This API is used to delete the origin-pull configuration of a bucket.

    Request

    Sample request

    DELETE /?origin 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 parameters

    This API has no request parameter.

    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 of this API is empty.

    Examples

    Request

    DELETE /?origin= HTTP/1.1
    Host: examplebucket-1250000000.cos.ap-shanghai.myqcloud.com
    Authorization: Auth String
    Date: Sun, 28 Apr 2019 12:02:24 GMT

    Response

    HTTP/1.1 204 No Content
    Server: tencent-cos
    Date: Mon, 28 Aug 2018 02:53:40 GMT
    x-cos-request-id: NWNjNTk2NTFfMmM4OGY3MGFfNTI1****
    
    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