文档中心 > DeleteBucketLifecycle
DeleteBucketLifecycle

最近更新时间:2021-10-08

从指定的桶中删除生命周期配置,删除生命周期配置后,OSS不会再处理桶内与已删除的生命周期相关的对象。


请求

请求语法

DELETE /?lifecycle HTTP/1.1

Host: examplebucket.region.unicloudsrv.com
Date: GMT date
Authorization: authorization string


示例

请求示例

DELETE /?lifecycle HTTP/1.1

Host: test.oss-cn-north-1.unicloudsrv.com
Date: Tue, 13 Dec 2011 19:14:42 GMT
Authorization: authorization string

返回示例

HTTP/1.1 204 No Content

x-amz-id-2: 0FmFIWsh/PpBuzZ0JFRC55ZGVmQW4SHJ7xVDqKwhEdJmf3q63RtrvH8ZuxW1Bol5
x-amz-request-id: 0CF038E9BCF63097
Date: Tue, 13 Dec 2011 19:14:42 GMT
Server: nginx
Content-Length: 0