Enabling Origin Protection
Last updated: 2020-02-21 12:07:01
This API is used to enable the original image protection feature for a bucket.
PUT /?origin-protect HTTP/1.1 Host: <BucketName-APPID>.pic.<Region>.myqcloud.com Date: GMT Date Authorization: Auth String
Authorization: Auth String (For more information, see Request Signature).
PUT /?origin-protect HTTP/1.1
This API allows PUT requests.
Common request headers are used for the implementation of this request operation. For more information, see Common Request Headers.
Special request headers
This request operation does not use any special request header.
The request body of this request is empty.
Common response headers
This response uses common response headers. For more information, see Common Response Headers.
Special response headers
This response does not use any special response header.
Null is returned for the response body.