forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com> Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
73 lines
8.1 KiB
HTML
73 lines
8.1 KiB
HTML
<a name="EN-US_TOPIC_0000002374260865"></a><a name="EN-US_TOPIC_0000002374260865"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a <span id="en-us_topic_0053158713_text266731472811">BMS</span><span id="en-us_topic_0053158713_text7802430369"></span><span id="en-us_topic_0053158713_text549771912419"></span></h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_section4329148591032"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p1694940391032">This API is used to delete a <span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_text14446114774310">BMS</span><span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_text2446194710436"></span><span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_text1644684784320"></span>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_section1832690791032"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p5086715691032">DELETE /v2.1/{project_id}/servers/{server_id}</p>
|
|
<p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p593313712459"><a href="#EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_table11676151834514">Table 1</a> lists the parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_table11676151834514"></a><a name="en-us_topic_0053158713_table11676151834514"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_table11676151834514" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_row20676618184519"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.4.2.4.1.1"><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p5203048591032">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.4.2.4.1.2"><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p5371975591032">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.4.2.4.1.3"><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p5633286991032">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_row1467691854512"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p3144131991032">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p6371887891032">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p6095551491032">Specifies the project ID.</p>
|
|
<p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p13397185821014">For how to obtain the project ID, see <a href="https://docs.otc.t-systems.com/en-us/api/apiug/apig-en-api-180328009.html" target="_blank" rel="noopener noreferrer">Obtaining Required Information</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_row667611824519"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p255895491134">server_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p594874291134">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p1208612791134">Specifies the <span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_text176828697272257">BMS</span><span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_text29430171172257"></span><span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_text80235201072257"></span> ID.</p>
|
|
<p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p29791113277">You can obtain the BMS ID from the <span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_en-us_topic_0113746489_text895314101319">BMS</span><span id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_en-us_topic_0113746489_text1695320481317"></span> console or by calling the API <a href="en-us_topic_0000002340063012.html">Querying BMSs</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_section1172872291032"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p82725485213">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_section13492722112912"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p47581321124019">Deleting a BMS (ID: 9ab74d89-61e7-4259-8546-465fdebe4944)<div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_screen207594463573"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><span class="n">DELETE</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="c1">//{ECS Endpoint}/v2.1/bbf1946d374b44a0a2a95533562ba954/servers/9ab74d89-61e7-4259-8546-465fdebe4944</span>
|
|
</pre></div></td></tr></table></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_section6619360391225"><h4 class="sectiontitle">Response</h4><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p6008161391225">N/A</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_section3477250491225"><h4 class="sectiontitle">Returned Values</h4><div class="p" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p87369529318">Normal values
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_table753804619176" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_row10735134615172"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.6.2.1.1.3.1.1"><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p19735204616177">Returned Values</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.6.2.1.1.3.1.2"><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p207355465176">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_row1473514621713"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.6.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p13735144611178">204</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.6.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p81516575011">The server has processed the request but did not return any content.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_p47633965">For details about other returned values, see <a href="en-us_topic_0053158690.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_section14752650154917"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002374260865__en-us_topic_0053158713_en-us_topic_0106040941_p10243161417491">See <a href="en-us_topic_0107541808.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002340063008.html">BMS Lifecycle Management (OpenStack Nova APIs)</a></div>
|
|
</div>
|
|
</div>
|
|
|