forked from docs/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>
39 lines
2.5 KiB
HTML
39 lines
2.5 KiB
HTML
<a name="obs_03_0040"></a><a name="obs_03_0040"></a>
|
|
|
|
<h1 class="topictitle1">Examples</h1>
|
|
<div id="body1442461140568"><div class="section" id="obs_03_0040__section2201390"><h4 class="sectiontitle">Delete Empty Container</h4><p id="obs_03_0040__p61892272161737">Delete an empty <strong id="obs_03_0040__b7153442">steven</strong> container:</p>
|
|
</div>
|
|
<pre class="codeblock" id="obs_03_0040__codeblock35900084104526">curl -i -H "X-auth-token:b85044aa87eb46b88552f1dcbae411e3" http://172.28.5.31:80/v1/AUTH_09ijuyhgt675432wert56yt789i0o98u/steven -X DELETE</pre>
|
|
<pre class="screen" id="obs_03_0040__screen4496161">HTTP/1.1 204 No Content
|
|
X-Trans-Id: tx3d3e55d11af10dd917cdd-b205cb56e6
|
|
Content-Length: 0
|
|
Content-Type: text/html;charset=UTF-8
|
|
Date: Sat, 19 Sep 2015 02:37:34 GMT</pre>
|
|
<div class="section" id="obs_03_0040__section60098234144536"><h4 class="sectiontitle">Delete Non-Existing Container</h4><p id="obs_03_0040__p48068385162043">Delete the non-existing <strong id="obs_03_0040__b53936788">steve</strong> container:</p>
|
|
<pre class="codeblock" id="obs_03_0040__codeblock27069586104551">curl -i -H "X-auth-token:b85044aa87eb46b88552f1dcbae411e3" http://172.28.5.31:80/v1/AUTH_09ijuyhgt675432wert56yt789i0o98u/steve -X DELETE</pre>
|
|
</div>
|
|
<pre class="screen" id="obs_03_0040__screen46317933145020">HTTP/1.1 404 Not Found
|
|
X-Trans-Id: txbfb5fe049899729a00e6d-e304231475
|
|
Content-Type: text/html;charset=UTF-8
|
|
Date: Sat, 19 Sep 2015 02:37:04 GMT
|
|
Content-Length: 70
|
|
|
|
<html><h1>Not Found</h1><p>The resource could not be found.</p></html> </pre>
|
|
<div class="section" id="obs_03_0040__section35141195103039"><h4 class="sectiontitle">Delete Non-Empty Container</h4><p id="obs_03_0040__p27864526103039">Delete the non-empty <strong id="obs_03_0040__b16932901">CONTAINER</strong> container:</p>
|
|
<pre class="codeblock" id="obs_03_0040__codeblock34334688104630">curl -i -H "X-auth-token:b85044aa87eb46b88552f1dcbae411e3" http://172.28.5.31:80/v1/AUTH_09ijuyhgt675432wert56yt789i0o98u/CONTAINER -X DELETE</pre>
|
|
</div>
|
|
<pre class="screen" id="obs_03_0040__screen14610485103039">HTTP/1.1 409 Conflict
|
|
X-Trans-Id: tx920280c22ff4ec5f733a5-74a61c1cb9
|
|
Content-Type: text/html;charset=UTF-8
|
|
Date: Sat, 19 Sep 2015 02:33:28 GMT
|
|
Content-Length: 95
|
|
|
|
<html><h1>Conflict</h1><p>There was a conflict when trying to complete your request.</p></html></pre>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0037.html">Delete Container</a></div>
|
|
</div>
|
|
</div>
|
|
|