forked from docs/doc-exports
Reviewed-by: Muller, Martin <martin.muller@t-systems.com> Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
120 lines
8.8 KiB
HTML
120 lines
8.8 KiB
HTML
<a name="evs_04_2008"></a><a name="evs_04_2008"></a>
|
|
|
|
<h1 class="topictitle1">Deleting an EVS Disk</h1>
|
|
<div id="body24374351"><div class="section" id="evs_04_2008__section10932885"><h4 class="sectiontitle">Function</h4><p id="evs_04_2008__p28165387">This API is used to delete an EVS disk. <span id="evs_04_2008__text2061292537101712"></span></p>
|
|
</div>
|
|
<div class="section" id="evs_04_2008__section12346114313368"><h4 class="sectiontitle">Debugging</h4><p id="evs_04_2008__p63465431365">You can debug the API in which supports automatic authentication. API Explorer can automatically generate and debug example SDK code.</p>
|
|
</div>
|
|
<div class="section" id="evs_04_2008__section31287108"><h4 class="sectiontitle">URI</h4><ul id="evs_04_2008__ul66803900"><li id="evs_04_2008__li64364196">URI format<p id="evs_04_2008__p46117407"><a name="evs_04_2008__li64364196"></a><a name="li64364196"></a>DELETE /v2/{project_id}/cloudvolumes/{volume_id}</p>
|
|
</li><li id="evs_04_2008__li12403484">Parameter description
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2008__table44522499" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2008__row39474480"><th align="left" class="cellrowborder" valign="top" width="22%" id="mcps1.3.3.2.2.1.1.4.1.1"><p id="evs_04_2008__p43316293">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21%" id="mcps1.3.3.2.2.1.1.4.1.2"><p id="evs_04_2008__p18958859">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.99999999999999%" id="mcps1.3.3.2.2.1.1.4.1.3"><p id="evs_04_2008__p59272617">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2008__row36352712"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2008__p58888592">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2008__p5246632">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.99999999999999%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2008__p22324024">The project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2008__row66698493"><td class="cellrowborder" valign="top" width="22%" headers="mcps1.3.3.2.2.1.1.4.1.1 "><p id="evs_04_2008__p33868853">volume_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21%" headers="mcps1.3.3.2.2.1.1.4.1.2 "><p id="evs_04_2008__p59022586">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.99999999999999%" headers="mcps1.3.3.2.2.1.1.4.1.3 "><p id="evs_04_2008__p16100147">The disk ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2008__section13148517"><h4 class="sectiontitle">Request</h4><ul id="evs_04_2008__ul66731816488"><li id="evs_04_2008__li15673188104812">Example request<pre class="screen" id="evs_04_2008__screen127540150484">DELETE https://{endpoint}/v2/{project_id}/cloudvolumes/b104b8db-170d-441b-897a-3c8ba9c5a214</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2008__section51227795"><h4 class="sectiontitle">Response</h4><ul id="evs_04_2008__ul88202445016"><li id="evs_04_2008__li10896102464312">Response parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2008__evs_04_2013_table735313581437" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2008__evs_04_2013_row153536585313"><th align="left" class="cellrowborder" valign="top" width="21.157884211578843%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="evs_04_2008__evs_04_2013_p123541158732">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.197880211978802%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="evs_04_2008__evs_04_2013_p1435411581320">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.64423557644236%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="evs_04_2008__evs_04_2013_p13541058036">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2008__evs_04_2013_row1135495819312"><td class="cellrowborder" valign="top" width="21.157884211578843%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="evs_04_2008__evs_04_2013_p33545583319">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.197880211978802%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="evs_04_2008__evs_04_2013_p19354165810317">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="evs_04_2008__evs_04_2013_p435416581936">The task ID.</p>
|
|
<div class="note" id="evs_04_2008__evs_04_2013_note335410589314"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="evs_04_2008__evs_04_2013_p1435514588312">For details about how to query the task status, see <a href="evs_04_0054.html">Querying Task Status</a>.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2008__evs_04_2013_row195162113414"><td class="cellrowborder" valign="top" width="21.157884211578843%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="evs_04_2008__evs_04_2013_p129522216412">error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.197880211978802%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="evs_04_2008__evs_04_2010_p1595262111415">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="evs_04_2008__evs_04_2013_p109527215417">The error message returned if an error occurs. For details, see <a href="#evs_04_2008__li0419202382514">Parameters in the error field</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="evs_04_2008__li0419202382514"><a name="evs_04_2008__li0419202382514"></a><a name="li0419202382514"></a>Parameters in the <strong id="evs_04_2008__b8926101651018">error</strong> field
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="evs_04_2008__evs_04_2013_table15441099103019" frame="border" border="1" rules="all"><thead align="left"><tr id="evs_04_2008__evs_04_2013_row54094047103019"><th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.5.2.2.2.1.4.1.1"><p id="evs_04_2008__evs_04_2013_p19541716103019">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.17788221177882%" id="mcps1.3.5.2.2.2.1.4.1.2"><p id="evs_04_2008__evs_04_2013_p39375186103019">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.64423557644236%" id="mcps1.3.5.2.2.2.1.4.1.3"><p id="evs_04_2008__evs_04_2013_p38578950103019">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="evs_04_2008__evs_04_2013_row59401790103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_2008__evs_04_2013_p46815658103019">message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_2008__evs_04_2013_p33971979103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_2008__evs_04_2013_p21623243103019">The error message returned if an error occurs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="evs_04_2008__evs_04_2013_row60391466103019"><td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.1 "><p id="evs_04_2008__evs_04_2013_p59870541103019">code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.17788221177882%" headers="mcps1.3.5.2.2.2.1.4.1.2 "><p id="evs_04_2008__evs_04_2013_p17675690103019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.64423557644236%" headers="mcps1.3.5.2.2.2.1.4.1.3 "><p id="evs_04_2008__evs_04_2013_p6087468103019">The error code returned if an error occurs.</p>
|
|
<p id="evs_04_2008__evs_04_2013_p54787218103019">For details about the error code, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="evs_04_2008__ul5085432120914"><li id="evs_04_2008__li3457263220914">Example response<pre class="screen" id="evs_04_2008__screen2489455295941">{
|
|
"job_id": "70a599e0-31e7-49b7-b260-868f441e862b"
|
|
}</pre>
|
|
<p id="evs_04_2008__p4891983220914">or</p>
|
|
<pre class="screen" id="evs_04_2008__screen2841635214422">{
|
|
"error": {
|
|
"message": "XXXX",
|
|
"code": "XXX"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2008__section58396974"><h4 class="sectiontitle">Status Codes</h4><ul id="evs_04_2008__ul2515205"><li id="evs_04_2008__li22636847">Normal<p id="evs_04_2008__p2405037"><a name="evs_04_2008__li22636847"></a><a name="li22636847"></a>200</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="evs_04_2008__section431317151242"><h4 class="sectiontitle">Error Codes</h4><p id="evs_04_2008__evs_04_2013_p783819215242">For details, see <a href="evs_04_0038.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="evs_04_2002.html">Disk Management</a></div>
|
|
</div>
|
|
</div>
|
|
|