forked from laiweijian4/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
122 lines
8.8 KiB
HTML
122 lines
8.8 KiB
HTML
<a name="obs_03_0067"></a><a name="obs_03_0067"></a>
|
|
|
|
<h1 class="topictitle1">Request</h1>
|
|
<div id="body1442650115396"><div class="section" id="obs_03_0067__section39869956112928"><h4 class="sectiontitle">Method</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0067__table36630378113016" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Method description</caption><thead align="left"><tr id="obs_03_0067__row48730343113016"><th align="left" class="cellrowborder" valign="top" width="15.851585158515851%" id="mcps1.3.1.2.2.4.1.1"><p id="obs_03_0067__p5336715811413">Method</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.874987498749874%" id="mcps1.3.1.2.2.4.1.2"><p id="obs_03_0067__p51296332113016"><strong id="obs_03_0067__b39273688114629">URI</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="34.27342734273427%" id="mcps1.3.1.2.2.4.1.3"><p id="obs_03_0067__p61362190113016">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0067__row15388804113016"><td class="cellrowborder" valign="top" width="15.851585158515851%" headers="mcps1.3.1.2.2.4.1.1 "><p id="obs_03_0067__p38533588113016">DELETE</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.874987498749874%" headers="mcps1.3.1.2.2.4.1.2 "><p id="obs_03_0067__p6978189171830">/v1/{account}/{container}/{object}{?multipart-manifest}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="34.27342734273427%" headers="mcps1.3.1.2.2.4.1.3 "><p id="obs_03_0067__p19784190113016">Permanently deletes an object from the OBS system.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="obs_03_0067__p40734986171834"><strong id="obs_03_0067__b42918923">{account}</strong> indicates the name of an account.</p>
|
|
<p id="obs_03_0067__p423531921048"><strong id="obs_03_0067__b53880729">{container}</strong> indicates the name of a container.</p>
|
|
<p id="obs_03_0067__p20770384171924"><strong id="obs_03_0067__b2262932">{object}</strong> indicates the name of an object.</p>
|
|
<p id="obs_03_0067__p41688322113723">This operation does not involve a request body.</p>
|
|
</div>
|
|
<div class="section" id="obs_03_0067__section16623225"><h4 class="sectiontitle">Example Request</h4><p id="obs_03_0067__p4713936114329">Delete the <strong id="obs_03_0067__b84235270616913">helloworld</strong> object from the <strong id="obs_03_0067__b84235270616924">marktwain</strong> container.</p>
|
|
</div>
|
|
<pre class="codeblock" id="obs_03_0067__codeblock31297750171951">curl -i $publicURL/
|
|
marktwain/helloworld -X DELETE -H "X-Auth-Token: $token"</pre>
|
|
<div class="section" id="obs_03_0067__section5103708"><h4 class="sectiontitle">Request Query Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0067__table43935352172115" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0067__row62093530172115"><th align="left" class="cellrowborder" valign="top" width="36.54%" id="mcps1.3.4.2.1.4.1.1"><p id="obs_03_0067__p63520014172115">Header</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.939999999999998%" id="mcps1.3.4.2.1.4.1.2"><p id="obs_03_0067__p974343172115">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.52%" id="mcps1.3.4.2.1.4.1.3"><p id="obs_03_0067__p39207829172115">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0067__row61240780172115"><td class="cellrowborder" valign="top" width="36.54%" headers="mcps1.3.4.2.1.4.1.1 "><p id="obs_03_0067__p61556132172115">multipart-manifest</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.939999999999998%" headers="mcps1.3.4.2.1.4.1.2 "><p id="obs_03_0067__p19990772172115">String</p>
|
|
<p id="obs_03_0067__p45699225172115">(Optional)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.52%" headers="mcps1.3.4.2.1.4.1.3 "><p id="obs_03_0067__p686972921135">If you include the <strong id="obs_03_0067__b36410264">multipart-manifest=delete</strong> query parameter and the object is a static large object, the segment objects and the manifest object are deleted.</p>
|
|
<p id="obs_03_0067__p6182756521135">If you omit the <strong id="obs_03_0067__b63550304">multipart-manifest=delete</strong> query parameter, the manifest object is deleted and the segment objects are not deleted.</p>
|
|
<p id="obs_03_0067__p1957717721135">If this is a dynamic large object, do not specify <strong id="obs_03_0067__b9999457211452">multipart-manifest=delete</strong> query parameter.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="obs_03_0067__section2186955"><h4 class="sectiontitle">Request Headers</h4><p id="obs_03_0067__p64195007172046">Request URI parameters</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0067__table40884152172046" frame="border" border="1" rules="all"><thead align="left"><tr id="obs_03_0067__row13719513172046"><th align="left" class="cellrowborder" valign="top" width="20.66%" id="mcps1.3.5.3.1.4.1.1"><p id="obs_03_0067__p37538754172046">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.399999999999999%" id="mcps1.3.5.3.1.4.1.2"><p id="obs_03_0067__p52444361172046">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="64.94%" id="mcps1.3.5.3.1.4.1.3"><p id="obs_03_0067__p46995656172046">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0067__row34313268172046"><td class="cellrowborder" valign="top" width="20.66%" headers="mcps1.3.5.3.1.4.1.1 "><p id="obs_03_0067__p27911353172046">{account}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.399999999999999%" headers="mcps1.3.5.3.1.4.1.2 "><p id="obs_03_0067__p46227143172046">String</p>
|
|
<p id="obs_03_0067__p13391104172046">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.94%" headers="mcps1.3.5.3.1.4.1.3 "><p id="obs_03_0067__p10937645172046">A unique account name. In the current version, it indicates a unique ID for the account.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0067__row31329947172046"><td class="cellrowborder" valign="top" width="20.66%" headers="mcps1.3.5.3.1.4.1.1 "><p id="obs_03_0067__p54697778172046">{container}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.399999999999999%" headers="mcps1.3.5.3.1.4.1.2 "><p id="obs_03_0067__p1335025172046">String</p>
|
|
<p id="obs_03_0067__p12015232172046">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.94%" headers="mcps1.3.5.3.1.4.1.3 "><p id="obs_03_0067__p33709711172046">A unique container name.</p>
|
|
<p id="obs_03_0067__p34951946172046">For details about container naming rules, see <a href="obs_03_0009.html">Naming Rules</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0067__row12535347172046"><td class="cellrowborder" valign="top" width="20.66%" headers="mcps1.3.5.3.1.4.1.1 "><p id="obs_03_0067__p8730148172046">{object}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.399999999999999%" headers="mcps1.3.5.3.1.4.1.2 "><p id="obs_03_0067__p36053382172046">String</p>
|
|
<p id="obs_03_0067__p56044984172046">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="64.94%" headers="mcps1.3.5.3.1.4.1.3 "><p id="obs_03_0067__p43349894172046">An object name.</p>
|
|
<p id="obs_03_0067__p54604731172046">For details about object naming rules, see <a href="obs_03_0009.html#obs_03_0009__section23579102">Object Naming Rules</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0067__table60907103172046" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="obs_03_0067__row25710638172046"><th align="left" class="cellrowborder" valign="top" width="36.54%" id="mcps1.3.5.4.2.4.1.1"><p id="obs_03_0067__p2186927172046">Header</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.939999999999998%" id="mcps1.3.5.4.2.4.1.2"><p id="obs_03_0067__p50765957172046">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.52%" id="mcps1.3.5.4.2.4.1.3"><p id="obs_03_0067__p31399308172046">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0067__row5972932172046"><td class="cellrowborder" valign="top" width="36.54%" headers="mcps1.3.5.4.2.4.1.1 "><p id="obs_03_0067__p14045460172046">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.939999999999998%" headers="mcps1.3.5.4.2.4.1.2 "><p id="obs_03_0067__p63940485172046">String</p>
|
|
<p id="obs_03_0067__p38593457172046">(Required)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.52%" headers="mcps1.3.5.4.2.4.1.3 "><p id="obs_03_0067__p39062326172046">Authentication token. If you omit this header, your request fails unless the account owner has granted you access through an ACL.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0066.html">Delete Object</a></div>
|
|
</div>
|
|
</div>
|
|
|