doc-exports/docs/ecs/api-ref/en-us_topic_0065817699.html
Artem Goncharov 3196b64bfc
move doc sources to other location (#3)
move doc sources to other location

Reviewed-by: OpenTelekomCloud Bot <None>
2022-04-27 16:24:25 +00:00

55 lines
4.6 KiB
HTML

<a name="EN-US_TOPIC_0065817699"></a><a name="EN-US_TOPIC_0065817699"></a>
<h1 class="topictitle1">Deleting an Image (Discarded)</h1>
<div id="body1499652824861"><div class="section" id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_section46534580"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_p39185923">This API is used to delete a specified image. The image cannot be restored after being deleted.</p>
<p id="EN-US_TOPIC_0065817699__p11621143818449">This API has been discarded. Use the API described in "Deleting an Image (Native OpenStack API)".</p>
</div>
<div class="section" id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_section16158042"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0065817699__p11744110193820">DELETE /v2/{project_id}/images/{image_id}</p>
<p id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_p17835728145012">DELETE /v2.1/{project_id}/images/{image_id}</p>
<div class="p" id="EN-US_TOPIC_0065817699__p1045515436219"><a href="#EN-US_TOPIC_0065817699__table148747347424">Table 1</a> describes the parameters in the URI.
<div class="tablenoborder"><a name="EN-US_TOPIC_0065817699__table148747347424"></a><a name="table148747347424"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0065817699__table148747347424" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0065817699__row15874103414424"><th align="left" class="cellrowborder" valign="top" width="19.931993199319933%" id="mcps1.3.2.4.2.2.4.1.1"><p id="EN-US_TOPIC_0065817699__p1873643717427">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.91199119911991%" id="mcps1.3.2.4.2.2.4.1.2"><p id="EN-US_TOPIC_0065817699__p197361637124220">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60.15601560156016%" id="mcps1.3.2.4.2.2.4.1.3"><p id="EN-US_TOPIC_0065817699__p273653719421">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0065817699__row168749343427"><td class="cellrowborder" valign="top" width="19.931993199319933%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0065817699__p16736173717427">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.91199119911991%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0065817699__p173693711421">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="60.15601560156016%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0065817699__p0736137164217">Specifies the project ID.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0065817699__row7874434124212"><td class="cellrowborder" valign="top" width="19.931993199319933%" headers="mcps1.3.2.4.2.2.4.1.1 "><p id="EN-US_TOPIC_0065817699__p2736133784215">image_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.91199119911991%" headers="mcps1.3.2.4.2.2.4.1.2 "><p id="EN-US_TOPIC_0065817699__p573613372423">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="60.15601560156016%" headers="mcps1.3.2.4.2.2.4.1.3 "><p id="EN-US_TOPIC_0065817699__p1873623794211">Specifies the image ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_section35161875"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_p21810540">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_section48021419"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_p21823336">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_section29539590"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0065817699__screen125150637">DELETE https://{endpoint}/v2/9c53a566cb3443ab910cf0daebca90c4/images/6cad483b-e281-4985-a345-7afef1f3c5b7
DELETE https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/images/6cad483b-e281-4985-a345-7afef1f3c5b7</pre>
</div>
<div class="section" id="EN-US_TOPIC_0065817699__section5751181218241"><h4 class="sectiontitle">Example Response</h4><p id="EN-US_TOPIC_0065817699__p159934185241">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_section3564114017426"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0065817699__en-us_topic_0057973130_en-us_topic_0057972976_p5693111841619">See <a href="en-us_topic_0022067716.html">Returned Values for General Requests</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0065817680.html">Image Management (OpenStack Nova APIs)</a></div>
</div>
</div>