DeleteBucketLifecycle

Last update:2022-03-01 18:22:20

The interface is used to remove the life cycle configuration of a bucket. IAM wos:GetBucketLifecycle permission is required.

Request syntax

DELETE /?lifecycle HTTP/1.1
Host: Bucket.Endpoint
Date: date
Authorization: Authorization string

URI request parameters

None.

Request header

Please use Common Request Header .

Request body

None.

Response syntax

HTTP/1.1 204 No Content
x-wos-request-id:
x-wos-request-id: request id
Content-Type: type
Date: date
Content-Length: length
Server: WS-web-server

Response header

Please use Common Response Headers .

Response body

None

Example

DELETE /?lifecycle HTTP/1.1
Host: bucket.s3-cn-east-1.wcsapi.com
Date: Wed, 14 Dec 2011 05:37:16 GMT
Authorization: signatureValue

HTTP/1.1 204 No Content
x-wos-request-id: 656c76696e672SAMPLE5657374
Date: Wed, 14 Dec 2016 05:37:16 GMT
Connection: keep-alive
Server: WCS-Web-Server
Is the content of this document helpful to you?
Yes
I have suggestion
Submitted successfully! Thank you very much for your feedback, we will continue to strive to do better!