doc-exports/docs/dws/api-ref/dws_02_0027.html
Lu, Huayi 24f47208ec DWS API 831.100 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-10-07 10:18:56 +00:00

101 lines
8.3 KiB
HTML

<a name="EN-US_TOPIC_0000001231631317"></a><a name="EN-US_TOPIC_0000001231631317"></a>
<h1 class="topictitle1">Deleting a Manual Snapshot</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_sfcf2baffe2ad46fa81d55b2dd2bf89bc"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p61948991">This API is used to delete a specified manual snapshot.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_s38a27afad7024ce3852e9847fd94c040"><h4 class="sectiontitle">URI</h4><pre class="screen" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_screen1079321015012">DELETE /v1.0/{project_id}/snapshots/{snapshot_id}</pre>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001231631317__table143721315185019" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001231631317__row237041545012"><th align="left" class="cellrowborder" valign="top" width="21.94%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000001231631317__p15370131515018"><strong id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_b84235270617228">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="9.58%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000001231631317__p937021515508"><strong id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_b6167984116271">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.549999999999999%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000001231631317__p18370615125016"><strong id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_b69941525152915">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="53.93%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000001231631317__p1037010156506"><strong id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_b714132712918">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001231631317__row8371141513501"><td class="cellrowborder" valign="top" width="21.94%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001231631317__p1737081515500">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="9.58%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001231631317__p14370415115015">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.549999999999999%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001231631317__p17370201511503">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.93%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001231631317__p133711615185017"><span id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_text423318288346">Project ID</span>. For details about how to obtain the ID, see <a href="dws_02_0011.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__row1637117152505"><td class="cellrowborder" valign="top" width="21.94%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001231631317__p1537115159505">snapshot_id</p>
</td>
<td class="cellrowborder" valign="top" width="9.58%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001231631317__p10371131511509">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.549999999999999%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001231631317__p737110155500">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.93%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001231631317__p737116150505">Snapshot ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__section9266794522"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0000001231631317__p91911140523">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__section2720174524"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000001231631317__p3398182885219">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_s649ab73a82e34ecd9160b0060a337f92"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="EN-US_TOPIC_0000001231631317__screen29161117342">DELETE https://{Endpoint}/v1.0/89cd04f168b84af6be287f71730fdb4b/snapshots/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba90</pre>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_sbec897acaf7347c0ac1723e38546a861"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0000001231631317__p258045311518">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_s33606771ebd747ddac1c88ee301f2aea"><h4 class="sectiontitle">Status Code</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001387498520_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001231631317__row7326542201914"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000001231631317__p1832944213190">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="EN-US_TOPIC_0000001231631317__p18329942121910"><strong id="EN-US_TOPIC_0000001231631317__b1091061373">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001231631317__row732664271916"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__p733094218193">202</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__p333019428198">The snapshot is deleted.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__row1732634251910"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__p16331194271910">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__p12332154261910">Request error.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__row5327174218195"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__p63321424196">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__p5333154211190">Authentication failed.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__row4328154231919"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__p14333842121917">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__p203341842161911">You do not have required permissions.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__row16328174271919"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__p73351342181915">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__p73351042191911">No resources found.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__row203285424192"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__p18336144221914">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__p73371642171913">Internal service error.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__row153284420195"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__p16337114219199">503</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__p03383423195">Service unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_02_0023.html">Snapshot Management APIs</a></div>
</div>
</div>