forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Jawei, Li <lijiawei5@huawei.com> Co-committed-by: Jawei, Li <lijiawei5@huawei.com>
54 lines
4.4 KiB
HTML
54 lines
4.4 KiB
HTML
<a name="EN-US_TOPIC_0125560506"></a><a name="EN-US_TOPIC_0125560506"></a>
|
|
|
|
<h1 class="topictitle1">DELETE Bucket lifecycle</h1>
|
|
<div id="body29368673"><p class="msonormal" id="EN-US_TOPIC_0125560506__p1317771618185">You can use this operation to delete the lifecycle configuration of a bucket.</p>
|
|
<p class="msonormal" id="EN-US_TOPIC_0125560506__p23560597">After the lifecycle configuration of a bucket is deleted, OBS will not automatically delete objects in that bucket.</p>
|
|
<p class="msonormal" id="EN-US_TOPIC_0125560506__p10718788">Only users granted the <strong id="EN-US_TOPIC_0125560506__b17709628656">s3:PutLifecycleConfiguration</strong> 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.</p>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section58665336"><h4 class="sectiontitle">Request Syntax</h4><pre class="screen" id="EN-US_TOPIC_0125560506__screen4134392512552">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=</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section58225979"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0125560506__p14797678">This request involves no parameters.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section54271769"><h4 class="sectiontitle">Request Headers</h4><p id="EN-US_TOPIC_0125560506__p57761279">This request uses common headers. For details about common request headers, see section <a href="en-us_topic_0125560462.html">Common Request Headers</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section18683873"><h4 class="sectiontitle">Request Elements</h4><p id="EN-US_TOPIC_0125560506__p7999906">This request involves no elements.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section8821459"><h4 class="sectiontitle">Response Syntax</h4><pre class="screen" id="EN-US_TOPIC_0125560506__screen1927154012612">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</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section12284267"><h4 class="sectiontitle">Response Headers</h4><p id="EN-US_TOPIC_0125560506__p52468780">This response uses common headers. For details about common response headers, see section <a href="en-us_topic_0125560484.html">Common Response Headers</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section43449544"><h4 class="sectiontitle">Response elements</h4><p id="EN-US_TOPIC_0125560506__p46307570">This response involves no elements.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section55501577"><h4 class="sectiontitle">Error Responses</h4><p id="EN-US_TOPIC_0125560506__p59925661">No special error responses are returned. For details about error responses, see <a href="en-us_topic_0125560440.html#EN-US_TOPIC_0125560440__table30733758">Table 1</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section20685786"><h4 class="sectiontitle">Sample Request</h4><pre class="screen" id="EN-US_TOPIC_0125560506__screen4531462312625">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=</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560506__section51954348"><h4 class="sectiontitle">Sample Response</h4><pre class="screen" id="EN-US_TOPIC_0125560506__screen2532200812635">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</pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0125560493.html">Operations on Buckets</a></div>
|
|
</div>
|
|
</div>
|
|
|