Enabling Original Image Protection

Last updated: 2021-07-07 17:49:59

    Overview

    This API is used to enable the original image protection feature for a bucket.

    Request

    Sample request

    PUT /?origin-protect HTTP/1.1
    Host: <BucketName-APPID>.pic.<Region>.myqcloud.com 
    Date: GMT Date
    Authorization: Auth String
    
    Note:

    Authorization: Auth String (see Request Signature for more information).

    Request headers

    This API only uses common request headers. For more information, please see Common Request Headers.

    Request body

    The request body of this request is empty.

    Response

    Response headers

    This API returns only common response headers. For more information, please see Common Response Headers.

    Response body

    The response body of this response is empty.