doc-exports/docs/dws/api-ref/dws_02_0027.html
Lu, Huayi 3d88b677fd DWS API 830.201 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-05-10 13:18:08 +00:00

97 lines
11 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><ul id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_ul51812368"><li id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_li63658128">URI format<pre class="screen" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_screen1079321015012">DELETE /v1.0/{project_id}/snapshots/{snapshot_id}</pre>
</li><li id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_li56034750">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_table34550710" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row5432205"><th align="left" class="cellrowborder" valign="top" width="21.94%" id="mcps1.3.2.2.2.1.2.5.1.1"><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p37355470"><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.2.2.1.2.5.1.2"><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p5894231"><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.2.2.1.2.5.1.3"><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p7670737"><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.2.2.1.2.5.1.4"><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p17349988"><strong id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_b714132712918">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row63171767"><td class="cellrowborder" valign="top" width="21.94%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p16639474">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="9.58%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p5620158">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.549999999999999%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p52579650">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.93%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_p1590591325620"><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__en-us_topic_0000001098976614_en-us_topic_0067607271_row11404133"><td class="cellrowborder" valign="top" width="21.94%" headers="mcps1.3.2.2.2.1.2.5.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p51319614">snapshot_id</p>
</td>
<td class="cellrowborder" valign="top" width="9.58%" headers="mcps1.3.2.2.2.1.2.5.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p63248075">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="14.549999999999999%" headers="mcps1.3.2.2.2.1.2.5.1.3 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p22820469">String</p>
</td>
<td class="cellrowborder" valign="top" width="53.93%" headers="mcps1.3.2.2.2.1.2.5.1.4 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p36518691">Snapshot ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_s649ab73a82e34ecd9160b0060a337f92"><h4 class="sectiontitle">Request Message</h4><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p47015983">Request example</p>
<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">Response Message</h4><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_ae2924842b5904a118308ed261f8b59b6">Example response</p>
<pre class="screen" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_sb107adb3038247f78687e1abf257405f">status CODE 202</pre>
</div>
<div class="section" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_s33606771ebd747ddac1c88ee301f2aea"><h4 class="sectiontitle">Status Code</h4><ul id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_ul20226985"><li id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_li47825138">Normal<p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p27773061"><a name="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_li47825138"></a><a name="en-us_topic_0000001098976614_en-us_topic_0067607271_li47825138"></a>202</p>
</li><li id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_li48630964">Exception
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_table35025494" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Returned values</caption><thead align="left"><tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row59481773"><th align="left" class="cellrowborder" valign="top" width="31.64%" id="mcps1.3.5.2.2.1.2.3.1.1"><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p53294272"><strong id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_b842352706104927">Returned Value</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="68.36%" id="mcps1.3.5.2.2.1.2.3.1.2"><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p21868813"><strong id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_b16565163952917">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row26543418"><td class="cellrowborder" valign="top" width="31.64%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p2533231">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="68.36%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p3865173">Request error.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row34786562"><td class="cellrowborder" valign="top" width="31.64%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p66248115">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="68.36%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p64497130">Authorization failed.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row43603258"><td class="cellrowborder" valign="top" width="31.64%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p42202994">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="68.36%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p62999330">No operation permission.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row30123063"><td class="cellrowborder" valign="top" width="31.64%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p24049039">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="68.36%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p1815156">No resources found.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row16336406"><td class="cellrowborder" valign="top" width="31.64%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p48180537">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="68.36%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p10309404">Internal service error.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_row25675773"><td class="cellrowborder" valign="top" width="31.64%" headers="mcps1.3.5.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p66471715">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="68.36%" headers="mcps1.3.5.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001231631317__en-us_topic_0000001098976614_en-us_topic_0067607271_p15499871">The service is unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</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>