DeleteCopyrightProtection
更新时间:2020-07-09
接口描述
本接口用来关闭Bucket原图保护功能。
请求语法
DELETE /?copyrightProtection HTTP/1.1
Host: <BucketName>.bj.bcebos.com
x-bce-date: date
Authorization: AuthorizationString
请求示例
DELETE /?copyrightProtection HTTP/1.1
Host: <BucketName>.bj.bcebos.com
x-bce-date: 2016-04-06T06:34:40Z
Authorization: AuthorizationString
响应示例
HTTP/1.1 204 No Content
Date: Wed, 14 Sep 2016 05:37:16 GMT
x-bce-request-id: 1a5fd81e-626b-45b3-a885-15fff9cd106c
Server: BceBos
说明:
- 请求者只有拥有FULL_CONTROL权限才允许关闭原图保护功能,否则返回403错误,错误码为AccessDenied。
- 如果请求的Bucket没有开通原图保护功能,依然返回HTTP状态码204。