forked from docs/doc-exports
Reviewed-by: Gergo-Bence Lorincz <a200452876@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
115 lines
7.4 KiB
HTML
115 lines
7.4 KiB
HTML
<a name="LeaveGroup"></a><a name="LeaveGroup"></a>
|
|
|
|
<h1 class="topictitle1">Removing a Cluster from a Fleet</h1>
|
|
<div id="body138311771398"><div class="section" id="LeaveGroup__section108321974910"><h4 class="sectiontitle">Function</h4><p id="LeaveGroup__p11833171299">This API is used to remove a cluster from a fleet.</p>
|
|
</div>
|
|
<div class="section" id="LeaveGroup__section128331579910"><h4 class="sectiontitle">URI</h4><p id="LeaveGroup__p16835371992">POST /v1/clusters/{clusterid}/unjoin</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="LeaveGroup__table88371471096" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameter</caption><thead align="left"><tr id="LeaveGroup__row1836107194"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="LeaveGroup__p1483867995">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="LeaveGroup__p1383916717917">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="LeaveGroup__p68401171095">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="LeaveGroup__p7842371594">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="LeaveGroup__row7836971097"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="LeaveGroup__p1384227399">clusterid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="LeaveGroup__p1384397593">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="LeaveGroup__p158440714915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="LeaveGroup__p138450712914">Cluster ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="LeaveGroup__section1884610717920"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="LeaveGroup__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="LeaveGroup__row6847471994"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="LeaveGroup__p1784920713918">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="LeaveGroup__p1285010712916">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="LeaveGroup__p10851167498">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="LeaveGroup__p1585219710918">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="LeaveGroup__row14848276917"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="LeaveGroup__p38531176911">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="LeaveGroup__p138541171698">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="LeaveGroup__p4855575915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="LeaveGroup__p1266617331861">Identity authentication information. 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.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="LeaveGroup__row9650185218208"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="LeaveGroup__p20110172212422">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="LeaveGroup__p411018227429">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="LeaveGroup__p7110152218429">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="LeaveGroup__p12110172216422">Message body type (format). Only <strong id="LeaveGroup__b201868755141720">application/json</strong> is supported.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="LeaveGroup__section17858167093"><h4 class="sectiontitle">Response Parameters</h4><p id="LeaveGroup__p15859117094">None</p>
|
|
</div>
|
|
<div class="section" id="LeaveGroup__section5860671911"><h4 class="sectiontitle">Example Requests</h4><p id="LeaveGroup__p1586117192">None</p>
|
|
</div>
|
|
<div class="section" id="LeaveGroup__section108634710917"><h4 class="sectiontitle">Example Responses</h4><p id="LeaveGroup__p1086412714919">None</p>
|
|
</div>
|
|
<div class="section" id="LeaveGroup__section9865147899"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="LeaveGroup__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="LeaveGroup__row1986617718911"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="LeaveGroup__p3868127596">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="LeaveGroup__p15869157994">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="LeaveGroup__row14866479914"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="LeaveGroup__p108701677917">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="LeaveGroup__p12871573918">The cluster has been removed from the fleet.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="LeaveGroup__row11866873916"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="LeaveGroup__p118721771398">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="LeaveGroup__p1387312717915">Client request error. The server could not execute the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="LeaveGroup__row386667293"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="LeaveGroup__p11874197698">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="LeaveGroup__p1387577097">The server refused the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="LeaveGroup__row786647093"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="LeaveGroup__p198761071915">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="LeaveGroup__p387727897">Resources not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="LeaveGroup__row1586612711914"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="LeaveGroup__p08781571398">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="LeaveGroup__p138781671893">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="LeaveGroup__section1287917715920"><h4 class="sectiontitle">Error Codes</h4><p id="LeaveGroup__p98811771694">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000001.html">Fleets</a></div>
|
|
</div>
|
|
</div>
|
|
|