doc-exports/docs/cce/api-ref/RemoveNode.html
Dong, Qiu Jian 3bfd56205d CCE API update -20240401 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2024-04-16 09:26:07 +00:00

398 lines
27 KiB
HTML

<a name="RemoveNode"></a><a name="RemoveNode"></a>
<h1 class="topictitle1">Removing a Node</h1>
<div id="body32001227"><div class="section" id="RemoveNode__section437095218515"><h4 class="sectiontitle">Function</h4><p id="RemoveNode__p143711552150">This API is used to remove a node from a specified cluster.</p>
<div class="note" id="RemoveNode__note1037118521658"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="RemoveNode__p103711521458">The URL for cluster management is in the format of https://Endpoint/uri. In the URL, <strong id="RemoveNode__b12371252351">uri</strong> indicates the resource path, that is, the path for API access.</p>
</div></div>
</div>
<div class="section" id="RemoveNode__section137119529512"><h4 class="sectiontitle">URI</h4><p id="RemoveNode__p12372195210515">PUT /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/operation/remove</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__table1537275216518" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="RemoveNode__row737214528511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="RemoveNode__p13721352956">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="RemoveNode__p13372752652">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="RemoveNode__p1337218523511">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="RemoveNode__p1237312522514">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row163721852756"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="RemoveNode__p037310521059">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="RemoveNode__p133732521650">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="RemoveNode__p1337311521653">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="RemoveNode__p1437314528515">Project ID. For details about how to obtain the value, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
</td>
</tr>
<tr id="RemoveNode__row53728521755"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="RemoveNode__p163731525514">cluster_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="RemoveNode__p93731152859">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="RemoveNode__p1637318521158">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="RemoveNode__p1737319525510">Cluster ID. For details about how to obtain the value, see <a href="cce_02_0271.html">How to Obtain Parameters in the API URI</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="RemoveNode__section8374135219510"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="RemoveNode__row1374185218515"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="RemoveNode__p237415521853">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="RemoveNode__p13748521358">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="RemoveNode__p153756525520">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="RemoveNode__p9375135216517">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row1137435212514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="RemoveNode__p1337575211514">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="RemoveNode__p19375252752">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="RemoveNode__p113754526511">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="RemoveNode__p6375155219510">Message body type (format).</p>
</td>
</tr>
<tr id="RemoveNode__row53741152958"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="RemoveNode__p23754525512">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="RemoveNode__p23757522513">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="RemoveNode__p237611522513">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="RemoveNode__p113761252153">Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details, see <a href="cce_02_0004.html">API Usage Guidelines</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_request_RemoveNodesTask" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="RemoveNode__row183761752053"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="RemoveNode__p11377115218520">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="RemoveNode__p1737785218516">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="RemoveNode__p123776522517">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="RemoveNode__p937745213520">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row1337611524513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="RemoveNode__p93771521516">apiVersion</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="RemoveNode__p4377135211517">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="RemoveNode__p1237817521151">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="RemoveNode__p237816521151">API version. The value is fixed at <strong id="RemoveNode__b20378135216513">v3</strong>.</p>
</td>
</tr>
<tr id="RemoveNode__row1837610521557"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="RemoveNode__p5378125215512">kind</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="RemoveNode__p163781352751">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="RemoveNode__p937816521357">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="RemoveNode__p1237813521650">API type. The value is fixed at <strong id="RemoveNode__b133787521151">RemoveNodesTask</strong>.</p>
</td>
</tr>
<tr id="RemoveNode__row1037615212516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="RemoveNode__p12378195211510">spec</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="RemoveNode__p173795521518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="RemoveNode__p11379152553"><a href="#RemoveNode__en-us_topic_0000001417833320_request_RemoveNodesSpec">RemoveNodesSpec</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="RemoveNode__p7379185215517">Configuration information.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="RemoveNode__en-us_topic_0000001417833320_request_RemoveNodesSpec"></a><a name="en-us_topic_0000001417833320_request_RemoveNodesSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_request_RemoveNodesSpec" frame="border" border="1" rules="all"><caption><b>Table 4 </b>RemoveNodesSpec</caption><thead align="left"><tr id="RemoveNode__row037911522511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="RemoveNode__p238035214510">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="RemoveNode__p10380205219516">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="RemoveNode__p83801452358">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="RemoveNode__p19380195214513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row038018521552"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="RemoveNode__p143807521653">login</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="RemoveNode__p143806521458">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="RemoveNode__p53815521656"><a href="#RemoveNode__en-us_topic_0000001417833320_request_Login">Login</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="RemoveNode__p1938113521252">Node login mode.</p>
</td>
</tr>
<tr id="RemoveNode__row73801252053"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="RemoveNode__p63811520518">nodes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="RemoveNode__p53811529516">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="RemoveNode__p9381352256">Array of <a href="#RemoveNode__en-us_topic_0000001417833320_request_NodeItem">NodeItem</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="RemoveNode__p4381195218520">List of nodes to be operated.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="RemoveNode__en-us_topic_0000001417833320_request_Login"></a><a name="en-us_topic_0000001417833320_request_Login"></a><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_request_Login" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Login</caption><thead align="left"><tr id="RemoveNode__row438214521656"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="RemoveNode__p133829522051">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="RemoveNode__p1038211525513">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="RemoveNode__p10382552151">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="RemoveNode__p738211521150">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row15382105213512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="RemoveNode__p138310526512">sshKey</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="RemoveNode__p638365216515">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="RemoveNode__p438315521651">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="RemoveNode__p53831452454">Name of the key pair used for login.</p>
</td>
</tr>
<tr id="RemoveNode__row1118143184812"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="RemoveNode__p2124826124214">userPassword</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="RemoveNode__p18124192684210">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="RemoveNode__p1912414264428">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="RemoveNode__p059411218363">Password used for node login.</p>
<div class="note" id="RemoveNode__note19491185043612"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="RemoveNode__p19491115003619">This field is not supported for the current version.</p>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="RemoveNode__en-us_topic_0000001417833320_request_NodeItem"></a><a name="en-us_topic_0000001417833320_request_NodeItem"></a><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_request_NodeItem" frame="border" border="1" rules="all"><caption><b>Table 6 </b>NodeItem</caption><thead align="left"><tr id="RemoveNode__row83863521355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="RemoveNode__p1638625210515">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="RemoveNode__p19387155214510">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="RemoveNode__p7387452957">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="RemoveNode__p133874527518">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row33863521355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="RemoveNode__p1538716521756">uid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="RemoveNode__p1238712522516">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="RemoveNode__p6387452257">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="RemoveNode__p10387155216517">Node ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="RemoveNode__section13891152352"><h4 class="sectiontitle">Response Parameters</h4><p id="RemoveNode__p1389145213511"><strong id="RemoveNode__b6389195212514">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_response_RemoveNodesTask" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="RemoveNode__row183896525514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="RemoveNode__p1738919522510">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="RemoveNode__p2390852751">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="RemoveNode__p103905521652">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row8389115215511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="RemoveNode__p5390652955">apiVersion</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="RemoveNode__p19390452559">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="RemoveNode__p1339015218511">API version. The value is fixed at <strong id="RemoveNode__b1539019522059">v3</strong>.</p>
</td>
</tr>
<tr id="RemoveNode__row438913523512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="RemoveNode__p83900521551">kind</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="RemoveNode__p139015521514">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="RemoveNode__p12390115213514">API type. The value is fixed at <strong id="RemoveNode__b1339010527519">RemoveNodesTask</strong>.</p>
</td>
</tr>
<tr id="RemoveNode__row173896527511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="RemoveNode__p18390205212512">spec</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="RemoveNode__p3391185214520"><a href="#RemoveNode__en-us_topic_0000001417833320_response_RemoveNodesSpec">RemoveNodesSpec</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="RemoveNode__p639116521456">Configuration information.</p>
</td>
</tr>
<tr id="RemoveNode__row538913521352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="RemoveNode__p2039118521059">status</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="RemoveNode__p3391195210520"><a href="#RemoveNode__en-us_topic_0000001417833320_response_TaskStatus">TaskStatus</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="RemoveNode__p3391145219510">Job status.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="RemoveNode__en-us_topic_0000001417833320_response_RemoveNodesSpec"></a><a name="en-us_topic_0000001417833320_response_RemoveNodesSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_response_RemoveNodesSpec" frame="border" border="1" rules="all"><caption><b>Table 8 </b>RemoveNodesSpec</caption><thead align="left"><tr id="RemoveNode__row12391125211511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="RemoveNode__p139255215511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="RemoveNode__p339219521558">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="RemoveNode__p1239285211513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row3391165218517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="RemoveNode__p339214521513">login</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="RemoveNode__p183926526518"><a href="#RemoveNode__en-us_topic_0000001417833320_response_Login">Login</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="RemoveNode__p1839295211519">Node login mode.</p>
</td>
</tr>
<tr id="RemoveNode__row139116523519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="RemoveNode__p43926526519">nodes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="RemoveNode__p43921152456">Array of <a href="#RemoveNode__en-us_topic_0000001417833320_response_NodeItem">NodeItem</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="RemoveNode__p93932521152">List of nodes to be operated.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="RemoveNode__en-us_topic_0000001417833320_response_Login"></a><a name="en-us_topic_0000001417833320_response_Login"></a><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_response_Login" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Login</caption><thead align="left"><tr id="RemoveNode__row039313521251"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="RemoveNode__p173931352657">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="RemoveNode__p11394552351">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="RemoveNode__p9394152955">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row639345217513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="RemoveNode__p1139495216518">sshKey</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="RemoveNode__p12394135215515">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="RemoveNode__p153941522058">Name of the key pair used for login.</p>
</td>
</tr>
<tr id="RemoveNode__row1412991114816"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="RemoveNode__p2011451118483">userPassword</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="RemoveNode__p911441114482">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="RemoveNode__p111141111164814">Password used for node login.</p>
<div class="note" id="RemoveNode__note21141111154811"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="RemoveNode__p5114161110482">This field is not supported for the current version.</p>
</div></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="RemoveNode__en-us_topic_0000001417833320_response_NodeItem"></a><a name="en-us_topic_0000001417833320_response_NodeItem"></a><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_response_NodeItem" frame="border" border="1" rules="all"><caption><b>Table 10 </b>NodeItem</caption><thead align="left"><tr id="RemoveNode__row1939725212513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="RemoveNode__p539813521553">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="RemoveNode__p11398452258">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="RemoveNode__p4398145213512">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row839715213518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="RemoveNode__p83982052252">uid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="RemoveNode__p3398115215510">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="RemoveNode__p63984525515">Node ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="RemoveNode__en-us_topic_0000001417833320_response_TaskStatus"></a><a name="en-us_topic_0000001417833320_response_TaskStatus"></a><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_response_TaskStatus" frame="border" border="1" rules="all"><caption><b>Table 11 </b>TaskStatus</caption><thead align="left"><tr id="RemoveNode__row5398175219514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="RemoveNode__p203997521356">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="RemoveNode__p18399352252">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="RemoveNode__p53999521157">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row0398105210512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="RemoveNode__p12399205213516">jobID</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="RemoveNode__p2399852459">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="RemoveNode__p2399125215512">Job ID, which is used by the caller to query the job progress.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="RemoveNode__section1439911521452"><h4 class="sectiontitle">Example Requests</h4><p id="RemoveNode__p1339919527512">Removing a Node</p>
<pre class="screen" id="RemoveNode__screen5400135211516">PUT /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/operation/remove
{
"spec" : {
"login" : {
"sshKey" : "KeyPair-001"
},
"nodes" : [ {
"uid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}, {
"uid" : "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy"
} ]
}
}</pre>
</div>
<div class="section" id="RemoveNode__section372415521058"><h4 class="sectiontitle">Example Responses</h4><p id="RemoveNode__p1972412527519"><strong id="RemoveNode__b772475215513">Status code: 200</strong></p>
<p id="RemoveNode__p107244521951">The job for removing a node in a specified cluster is successfully delivered.</p>
<pre class="screen" id="RemoveNode__screen472485219519">{
"spec" : {
"login" : {
"sshKey" : "KeyPair-001"
},
"nodes" : [ {
"uid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}, {
"uid" : "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy"
} ]
},
"status" : {
"jobID" : "2ec9b78d-9368-46f3-8f29-d1a95622a568"
}
}</pre>
</div>
<div class="section" id="RemoveNode__section272419521456"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="RemoveNode__en-us_topic_0000001417833320_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="RemoveNode__row240216524510"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="RemoveNode__p072411521955">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="RemoveNode__p972445219519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="RemoveNode__row13402352658"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="RemoveNode__p572415528519">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="RemoveNode__p177249525514">The job for removing a node in a specified cluster is successfully delivered.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="RemoveNode__section7724165215518"><h4 class="sectiontitle">Error Codes</h4><p id="RemoveNode__p1772411521251">See <a href="cce_02_0250.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_02_0092.html">Cluster Management</a></div>
</div>
</div>