帮助与文档

我们为你提供丰富、详尽的使用指南以及产品文档

DELETE Bucket Lifecycle

删除 Bucket Lifecycle 设置,lifecycle 是存储空间的子资源(subresource), 只有存储空间所有者才能删除。

获取 Lifecycle 设置请参见 GET Lifecycle

设置 Lifecycle 设置请参见 PUT Lifecycle

Request Syntax

DELETE /?lifecycle HTTP/1.1
Host: <bucket-name>.pek3a.qingstor.com
Date: <date>
Authorization: <authorization-string>

Request Parameters

没有请求参数

Request Headers

参见公共请求头

Request Body

没有请求消息体

Status Code

成功则返回 204. 失败的返回码参考错误码列表

Response Headers

参见公共响应头

Response Body

正常情况下没有响应消息体, 错误情况下会有返回码对应的 Json 消息, 参考错误码列表

Example

Example Request

DELETE /?lifecycle HTTP/1.1
Host: mybucket.pek3a.qingstor.com
Date: Sun, 16 Aug 2015 09:05:00 GMT
Content-Length: 30
Authorization: authorization string

Example Response

HTTP/1.1 204 NoContent
Server: QingStor
Date: Sun, 16 Aug 2015 09:05:02 GMT
Content-Length: 0
Connection: close
x-qs-request-id: aa08cf7a43f611e5886952542e6ce14b