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>
53 lines
4.1 KiB
HTML
53 lines
4.1 KiB
HTML
<a name="EN-US_TOPIC_0125560426"></a><a name="EN-US_TOPIC_0125560426"></a>
|
|
|
|
<h1 class="topictitle1">DELETE Bucket tagging</h1>
|
|
<div id="body1494815431748"><p id="EN-US_TOPIC_0125560426__p47727092153411">This implementation of the <strong id="EN-US_TOPIC_0125560426__b1631018471778">DELETE</strong> operation uses the <strong id="EN-US_TOPIC_0125560426__b695715521574">tagging</strong> subresource to remove a tag set from the specified bucket.</p>
|
|
<p id="EN-US_TOPIC_0125560426__p62476463203448">Only users granted the <strong id="EN-US_TOPIC_0125560426__b25417256203448">s3:PutBucketTagging</strong> permission can perform this operation. By default, the permission is granted to the bucket owner only. However, it can be granted to other users by configuring the bucket policy.</p>
|
|
<div class="section" id="EN-US_TOPIC_0125560426__section57518732"><h4 class="sectiontitle">Request Syntax</h4><pre class="screen" id="EN-US_TOPIC_0125560426__screen32733069122832">DELETE /?tagging HTTP/1.1
|
|
User-Agent: agent
|
|
Host: bucketname.obs.example.com
|
|
Accept: */*
|
|
Date: date
|
|
Authorization: authorization string</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560426__section47906541"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0125560426__p26589862">This request involves no parameters.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560426__section28505693"><h4 class="sectiontitle">Request Headers</h4><p id="EN-US_TOPIC_0125560426__p6295248">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_0125560426__section55224652"><h4 class="sectiontitle">Request Elements</h4><p id="EN-US_TOPIC_0125560426__p31176214">This request involves no elements.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560426__section46270551"><h4 class="sectiontitle">Response Syntax</h4><pre class="screen" id="EN-US_TOPIC_0125560426__screen26997610122811">HTTP/1.1 204 No Content
|
|
Server: Server Name
|
|
x-amz-request-id: request id
|
|
x-amz-id-2: id
|
|
x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc
|
|
Date: date</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560426__section13781782"><h4 class="sectiontitle">Response Headers</h4><p id="EN-US_TOPIC_0125560426__p63490983">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_0125560426__section56927182"><h4 class="sectiontitle">Response Elements</h4><p id="EN-US_TOPIC_0125560426__p19621447">This response involves no elements.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560426__section42582590"><h4 class="sectiontitle">Error Responses</h4><p id="EN-US_TOPIC_0125560426__p45833411">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_0125560426__section32323009"><h4 class="sectiontitle">Sample Request</h4><pre class="screen" id="EN-US_TOPIC_0125560426__screen6066468122732">DELETE /?tagging HTTP/1.1
|
|
User-Agent: curl/7.19.7 (x86_64-suse-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8j zlib/1.2.7 libidn/1.10
|
|
Host: bucketname.obs.example.com
|
|
Accept: */*
|
|
Date: Tue, 09 May 2017 03:07:13 +0000
|
|
Authorization: authorization string</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0125560426__section22471632"><h4 class="sectiontitle">Sample Response</h4><pre class="screen" id="EN-US_TOPIC_0125560426__screen16563110122750">HTTP/1.1 204 No Content
|
|
Server: OBS
|
|
x-amz-request-id: request id
|
|
x-amz-id-2: id
|
|
x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc
|
|
Date: Tue, 09 May 2017 03:06:29 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>
|
|
|