You can use this operation to delete the lifecycle configuration of a bucket.
After the lifecycle configuration of a bucket is deleted, OBS will not automatically delete objects in that bucket.
Only users granted the s3:PutLifecycleConfiguration permission can delete the bucket lifecycle configuration. By default, only the bucket owner can delete the bucket lifecycle configuration. The bucket owner can allow other users to delete the bucket lifecycle configuration by granting them the permission.
DELETE /?lifecycle HTTP/1.1 User-agent: agent Host: bucketname.obs.example.com Accept: */* Date: Thu, 05 Sep 2013 10:58:33 +0000 Authorization: AWS B9A70C60A39C4D551A16:1iTeJ0lyd3dLM911NvNhWXSzLSQ=
This request involves no parameters.
This request uses common headers. For details about common request headers, see section Common Request Headers.
This request involves no elements.
HTTP/1.1 204 No Content Server: OBS x-amz-request-id: 90E2BA0A420C00000140EDC608490C46 x-amz-id-2: KjN5GBIHSX5z8vJPmmrQSIfzvlhsjnofUEap+GZ4pzuawO3+ArTKAZWtXoTFKA/0 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc Date: Thu, 05 Sep 2013 10:58:33 GMT
This response uses common headers. For details about common response headers, see section Common Response Headers.
This response involves no elements.
No special error responses are returned. For details about error responses, see Table 1.
DELETE /?lifecycle HTTP/1.1 User-Agent: curl/7.29.0 Host: bucketname.obs.example.com Accept: */* Date: Thu, 05 Sep 2013 10:09:36 +0000 Authorization: AWS B9A70C60A39C4D551A16:oNFuFZV8JLUqxsaFPI1Gs/HPRKg=
HTTP/1.1 204 No Content Server: OBS x-amz-request-id: 90E2BA0A420C00000140EDC608490C46 x-amz-id-2: KjN5GBIHSX5z8vJPmmrQSIfzvlhsjnofUEap+GZ4pzuawO3+ArTKAZWtXoTFKA/0 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc Date: Thu, 05 Sep 2013 10:58:33 GMT