forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
101 lines
8.2 KiB
HTML
101 lines
8.2 KiB
HTML
<a name="EN-US_TOPIC_0036994321"></a><a name="EN-US_TOPIC_0036994321"></a>
|
|
|
|
<h1 class="topictitle1">Deleting an Image Sharing Member (Native OpenStack API)</h1>
|
|
<div id="body1472781317561"><div class="section" id="EN-US_TOPIC_0036994321__section29995926"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0036994321__p46070087">This API is used to stop image sharing by deleting the tenant with whom the image is shared.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0036994321__section1527883"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0036994321__p588929">DELETE /v2/images/{image_id}/members/{member_id}</p>
|
|
<div class="p" id="EN-US_TOPIC_0036994321__p192219350433"><a href="#EN-US_TOPIC_0036994321__table6209770492526">Table 1</a> lists the parameters in the URI.
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0036994321__table6209770492526"></a><a name="table6209770492526"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0036994321__table6209770492526" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0036994321__row4392035892526"><th align="left" class="cellrowborder" valign="top" width="19.73802619738026%" id="mcps1.3.2.3.2.2.5.1.1"><p id="EN-US_TOPIC_0036994321__p77928492526"><strong id="EN-US_TOPIC_0036994321__b16263767162443">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.358064193580642%" id="mcps1.3.2.3.2.2.5.1.2"><p id="EN-US_TOPIC_0036994321__p6312205492526"><strong id="EN-US_TOPIC_0036994321__b31986159162448">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.418158184181582%" id="mcps1.3.2.3.2.2.5.1.3"><p id="EN-US_TOPIC_0036994321__p1261277392526">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.48575142485752%" id="mcps1.3.2.3.2.2.5.1.4"><p id="EN-US_TOPIC_0036994321__p1500168892526">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0036994321__row717722492526"><td class="cellrowborder" valign="top" width="19.73802619738026%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0036994321__p4448425292526">image_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.358064193580642%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0036994321__p4645465392526">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.418158184181582%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0036994321__p473051492526">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.48575142485752%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0036994321__p4762733192526">Specifies the image ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0036994321__row2599280292526"><td class="cellrowborder" valign="top" width="19.73802619738026%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0036994321__p2504225092526">member_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.358064193580642%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0036994321__p1515635492526">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.418158184181582%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0036994321__p1970513892526">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.48575142485752%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0036994321__p5261235592526">Specifies the member ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0036994321__section13750947"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0036994321__p1346564765515">Request parameters</p>
|
|
<p id="EN-US_TOPIC_0036994321__p19049934416">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0036994321__section1754145111614"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0036994321__p104458427555">Deleting an image sharing member</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0036994321__screen1356205518616">DELETE https://{Endpoint}/v2/images/d164b5df-1bc3-4c3f-893e-3e471fd16e64/members/edc89b490d7d4392898e19b2deb34797</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0036994321__section56649665"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0036994321__ul20331343153614"><li id="EN-US_TOPIC_0036994321__li1778611418448">Response parameters<p id="EN-US_TOPIC_0036994321__p10404181816449"><a name="EN-US_TOPIC_0036994321__li1778611418448"></a><a name="li1778611418448"></a>None</p>
|
|
</li><li id="EN-US_TOPIC_0036994321__li833134319363">Example response<pre class="codeblock" id="EN-US_TOPIC_0036994321__codeblock6641838292551">204 No Content</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0036994321__section61705107"><h4 class="sectiontitle">Returned Values</h4><ul id="EN-US_TOPIC_0036994321__ul28278595"><li id="EN-US_TOPIC_0036994321__li53180767">Normal<p id="EN-US_TOPIC_0036994321__p8864859"><a name="EN-US_TOPIC_0036994321__li53180767"></a><a name="li53180767"></a>204</p>
|
|
</li><li id="EN-US_TOPIC_0036994321__li12674872">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0036994321__table2557613417418" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0036994321__row2726860617418"><th align="left" class="cellrowborder" valign="top" width="46.54%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="EN-US_TOPIC_0036994321__p6127347417418">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.459999999999994%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="EN-US_TOPIC_0036994321__p6420439117418"><strong id="EN-US_TOPIC_0036994321__b84235270616929">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0036994321__row3317320517418"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0036994321__p267505917418">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0036994321__p1535319317418">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0036994321__row396101317418"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0036994321__p5240662717418">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0036994321__p1707839817418">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0036994321__row1948785517418"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0036994321__p3501244017418">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0036994321__p1743536117418">You do not have the rights to perform the operation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0036994321__row66661301191255"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0036994321__p26317130191257">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0036994321__p51312824191257">The requested resource was not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0036994321__row2270052117418"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0036994321__p2680288517418">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0036994321__p2355010217418">Internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0036994321__row1062433417418"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0036994321__p5526474517418">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0036994321__p4725937317418">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="en-us_topic_0122410336.html">Image Sharing (Native OpenStack APIs)</a></div>
|
|
</div>
|
|
</div>
|
|
|