forked from docs/doc-exports
Reviewed-by: Ziuzko, Alevtina <alevtina.ziuzko@t-systems.com> Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com> Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
323 lines
30 KiB
HTML
323 lines
30 KiB
HTML
<a name="BatchDeleteResourceGroups"></a><a name="BatchDeleteResourceGroups"></a>
|
|
|
|
<h1 class="topictitle1">Batch Deleting Resource Groups</h1>
|
|
<div id="body8662426"><div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section183764965313"><h4 class="sectiontitle">Function</h4><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p43711498531">This API is used to delete resource groups in batches.</p>
|
|
</div>
|
|
<div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section737749115312"><h4 class="sectiontitle">URI</h4><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1837144915316">POST /v2/{project_id}/resource-groups/batch-delete</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_table438114925310" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1037154915313"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p43824915532">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p23864905313">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p7380497534">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p9384497534">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row183715498533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1238194975316">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p738649155318">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p33834912537">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="BatchDeleteResourceGroups__p42316702175455">Project ID.</p>
|
|
<p id="BatchDeleteResourceGroups__p191415137612">For details about how to obtain the project ID, see <a href="ces_03_0057.html">Obtaining a Project ID</a>.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001646899046_p18100524114814">Minimum: <strong id="BatchDeleteResourceGroups__b143056381534119">1</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001646899046_p81001524104817">Maximum: <strong id="BatchDeleteResourceGroups__b108154289783322">64</strong></p>
|
|
<p id="BatchDeleteResourceGroups__p4697184133915"><strong id="BatchDeleteResourceGroups__b110350300425151">Regular expression matching</strong>: ^[a-zA-Z0-9-]{1,64}$</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section2038349145318"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row163944975319"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p93994912532">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p10391494538">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p23954914535">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p93914955317">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row93984913531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p103924917533">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p6461549175313">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1546114920534">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="BatchDeleteResourceGroups__p1953461815376">User token. It is a response to the API for obtaining a user token. This API is the only one that does not require authentication. After a response is returned, the value of <strong id="BatchDeleteResourceGroups__b46939570333925">X-Subject-Token</strong> in the response header is the token.</p>
|
|
<p id="BatchDeleteResourceGroups__p145345186370">Minimum: <strong id="BatchDeleteResourceGroups__b52992175734119">1</strong></p>
|
|
<p id="BatchDeleteResourceGroups__p1353416187373">Maximum: <strong id="BatchDeleteResourceGroups__b10887993674340">16384</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_request_BatchDeleteResourceGroupsRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1646184916530"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p204634915532">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p194714945315">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p34711492532">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p17471949175319">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row24612499533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1847549195313">group_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1471949165315">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1547104975310">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p347349155314">IDs of resource groups to be deleted in batches.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1547149105314">Array length: <strong id="BatchDeleteResourceGroups__b26773823954710">1</strong> to <strong id="BatchDeleteResourceGroups__b16259262254710">100</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section17471549165313"><h4 class="sectiontitle">Response Parameters</h4><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p9473491535"><strong id="BatchDeleteResourceGroups__b17032904718304">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_response_BatchDeleteResourceGroupsResp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row64744975317"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p848144915532">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p4481949175320">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1248349155317">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row14724912534"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p164814985312">group_ids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p94874913538">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p2048349205314">IDs of resource groups that were deleted.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p204814491534">Array length: <strong id="BatchDeleteResourceGroups__b184572328054710">1</strong> to <strong id="BatchDeleteResourceGroups__b97838531154710">100</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1448194912535"><strong id="BatchDeleteResourceGroups__b206169431254048">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_response_GoAPIErrorResponseV2" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1648104955314"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p249449115316">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p44911492538">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p34916496539">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row144824945314"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p4494498536">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p949549205310">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1549184915310">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p449114919534">Minimum: <strong id="BatchDeleteResourceGroups__b66245666674817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p4498496534">Maximum: <strong id="BatchDeleteResourceGroups__b23720985651245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row048144925311"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p12491649115319">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p54984985316">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p13499495539">Request error message.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p20491749125314">Minimum: <strong id="BatchDeleteResourceGroups__b23316550374817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1749449135312">Maximum: <strong id="BatchDeleteResourceGroups__b190587440051245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1748184915312"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p14944925313">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p14918491530">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p9491249195312">Request ID.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p10499497536">Minimum: <strong id="BatchDeleteResourceGroups__b21712385774817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p174954975316">Maximum: <strong id="BatchDeleteResourceGroups__b107519117251245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1650049115319"><strong id="BatchDeleteResourceGroups__b582791965113913">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_table85074916539" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1250194965310"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p11502049155314">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p550134919531">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1950204917539">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row185074916539"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1150134945314">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p150114965319">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p17509496538">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p350174955320">Minimum: <strong id="BatchDeleteResourceGroups__b176526391574817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p13514495534">Maximum: <strong id="BatchDeleteResourceGroups__b177856697151245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row9503496538"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1851749195317">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1051144919538">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p145154915536">Request error message.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p9519494537">Minimum: <strong id="BatchDeleteResourceGroups__b15478222774817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p85114965315">Maximum: <strong id="BatchDeleteResourceGroups__b37704910651245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1550104915532"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p18511549185312">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1851549115315">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1051134911532">Request ID.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p195174945313">Minimum: <strong id="BatchDeleteResourceGroups__b58751064674817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p125104945310">Maximum: <strong id="BatchDeleteResourceGroups__b127512131551245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p20513497533"><strong id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_b3511649155310">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_table1451649195311" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row7511849155316"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p95294975319">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p552194917537">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p052144915311">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row3511849165313"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1352194912536">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p9521949115317">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p252749145312">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p195274914535">Minimum: <strong id="BatchDeleteResourceGroups__b21389723174817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1752204916532">Maximum: <strong id="BatchDeleteResourceGroups__b99286129351245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row12521349125312"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p05294910538">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p125211496536">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p15284913538">Request error message.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p852144995312">Minimum: <strong id="BatchDeleteResourceGroups__b62140726974817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p125214494539">Maximum: <strong id="BatchDeleteResourceGroups__b188998851245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1552134975312"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p3536494531">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p653124945311">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p10531149155311">Request ID.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p253134935318">Minimum: <strong id="BatchDeleteResourceGroups__b139794125574817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p753154985315">Maximum: <strong id="BatchDeleteResourceGroups__b17552432951245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p13531549185314"><strong id="BatchDeleteResourceGroups__b12207005233200">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_table3531649125318" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1153144913538"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1539493530">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.11.2.4.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p185316493530">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.11.2.4.1.3"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p55314915533">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row45384905314"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p25394975316">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p2541349175318">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p7544498536">Status code customized by each cloud service when a request error occurs.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p65454905313">Minimum: <strong id="BatchDeleteResourceGroups__b157721587274817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p554124913534">Maximum: <strong id="BatchDeleteResourceGroups__b38323278551245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row10536498538"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1854174917534">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p15434916534">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p45414955312">Request error message.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p2542490533">Minimum: <strong id="BatchDeleteResourceGroups__b177563733974817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p105484905318">Maximum: <strong id="BatchDeleteResourceGroups__b89796739251245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row12531149135314"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p95424935311">request_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.11.2.4.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p3541249175315">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.11.2.4.1.3 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1054949165313">Request ID.</p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p454174995313">Minimum: <strong id="BatchDeleteResourceGroups__b32620333174817">0</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1054949145318">Maximum: <strong id="BatchDeleteResourceGroups__b15243026151245">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section2541249185314"><h4 class="sectiontitle">Example Requests</h4><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p115434985319">Batch deleting resource groups</p>
|
|
<pre class="screen" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_screen10553495537">{
|
|
"group_ids" : [ "rg1761380163308Dxxxxxxxx" ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section115512496534"><h4 class="sectiontitle">Example Responses</h4><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p95524913537"><strong id="BatchDeleteResourceGroups__b17602113468304">Status code: 200</strong></p>
|
|
<p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p145510499539">IDs of resource groups that were deleted</p>
|
|
<pre class="screen" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_screen185594985313">{
|
|
"group_ids" : [ "rg1761380163308Dxxxxxxxx" ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section1455849195320"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row12556499533"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p95674914535">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p105624918536">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1355549185316"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p55613497537">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p125694915315">IDs of resource groups that were successfully deleted.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row155154995310"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p25684965311">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p656449115311">Parameter verification failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row2555499531"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1856449155317">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p16561549165310">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row1855204910531"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p4561349175318">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p6561549155315">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_row2556499534"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p1561049195311">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p656174965319">Failed to complete the request because of an internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_section1556749145318"><h4 class="sectiontitle">Error Codes</h4><p id="BatchDeleteResourceGroups__en-us_topic_0000001695052773_p135684975312">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_300000007.html">Resource Groups</a></div>
|
|
</div>
|
|
</div>
|
|
|