Files
doc-exports/docs/ces/api-ref/ces_03_0072.html
qiujiandong1 e9265fb6b0 CES API Update -20250521 version
Reviewed-by: Ziuzko, Alevtina <alevtina.ziuzko@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-12-05 10:48:24 +00:00

107 lines
7.7 KiB
HTML

<a name="ces_03_0072"></a><a name="ces_03_0072"></a>
<h1 class="topictitle1">Deleting a Resource Group</h1>
<div id="body1606895824429"><div class="section" id="ces_03_0072__section66578044"><h4 class="sectiontitle">Function</h4><p id="ces_03_0072__p7134161517543">This API is used to delete a resource group.</p>
</div>
<div class="section" id="ces_03_0072__section62331491"><h4 class="sectiontitle">URI</h4><p id="ces_03_0072__p12899174762418">DELETE /V1.0/{project_id}/resource-groups/{group_id}</p>
<ul id="ces_03_0072__ul17767104113451"><li id="ces_03_0072__li137671541194520">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0072__table14767174164512" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="ces_03_0072__row127676417456"><th align="left" class="cellrowborder" valign="top" width="18.488151184881513%" id="mcps1.3.2.3.1.1.2.5.1.1"><p id="ces_03_0072__p676711419453">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.308569143085691%" id="mcps1.3.2.3.1.1.2.5.1.2"><p id="ces_03_0072__p1376813412455">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.568743125687432%" id="mcps1.3.2.3.1.1.2.5.1.3"><p id="ces_03_0072__p1076844113459">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="54.634536546345366%" id="mcps1.3.2.3.1.1.2.5.1.4"><p id="ces_03_0072__p1376834114454">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ces_03_0072__row47681941134516"><td class="cellrowborder" valign="top" width="18.488151184881513%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="ces_03_0072__p11768124114515">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.308569143085691%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="ces_03_0072__p576844134515">String</p>
</td>
<td class="cellrowborder" valign="top" width="12.568743125687432%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="ces_03_0072__p1376810419457">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="54.634536546345366%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="ces_03_0072__p42316702175455">Specifies the project ID.</p>
<p id="ces_03_0072__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="ces_03_0072__en-us_topic_0000001646899046_p18100524114814">Minimum: <strong id="ces_03_0072__b26668048743834">1</strong></p>
<p id="ces_03_0072__en-us_topic_0000001646899046_p81001524104817">Maximum: <strong id="ces_03_0072__b13947175183242">64</strong></p>
<p id="ces_03_0072__p4697184133915"><strong id="ces_03_0072__b9283270164141">Regular expression matching</strong>: ^[a-zA-Z0-9-]{1,64}$</p>
</td>
</tr>
<tr id="ces_03_0072__row86091844185519"><td class="cellrowborder" valign="top" width="18.488151184881513%" headers="mcps1.3.2.3.1.1.2.5.1.1 "><p id="ces_03_0072__p661004411554">group_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.308569143085691%" headers="mcps1.3.2.3.1.1.2.5.1.2 "><p id="ces_03_0072__p6835718554">String</p>
</td>
<td class="cellrowborder" valign="top" width="12.568743125687432%" headers="mcps1.3.2.3.1.1.2.5.1.3 "><p id="ces_03_0072__p174201400562">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="54.634536546345366%" headers="mcps1.3.2.3.1.1.2.5.1.4 "><p id="ces_03_0072__p1561017442552">Specifies the resource group ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="ces_03_0072__li114998310465">Request example<pre class="screen" id="ces_03_0072__screen17642956164510">DELETE https://{Cloud Eye endpoint}/V1.0/{project_id}/resource-groups/{group_id}</pre>
</li></ul>
</div>
<div class="section" id="ces_03_0072__section14198712184410"><h4 class="sectiontitle">Request</h4><p id="ces_03_0072__p1277015391934">None</p>
</div>
<div class="section" id="ces_03_0072__section15686020"><h4 class="sectiontitle">Response</h4><p id="ces_03_0072__p1273818545916">None</p>
</div>
<div class="section" id="ces_03_0072__section6956456"><h4 class="sectiontitle">Returned Value</h4><ul id="ces_03_0072__ul20226985"><li id="ces_03_0072__li47825138">Normal<p id="ces_03_0072__p27773061"><a name="ces_03_0072__li47825138"></a><a name="li47825138"></a>204</p>
</li><li id="ces_03_0072__li48630964">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ces_03_0072__table9852173623812" frame="border" border="1" rules="all"><thead align="left"><tr id="ces_03_0072__row985213612382"><th align="left" class="cellrowborder" valign="top" width="32.1%" id="mcps1.3.5.2.2.1.1.3.1.1"><p id="ces_03_0072__p1849030182924">Returned Value</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="67.9%" id="mcps1.3.5.2.2.1.1.3.1.2"><p id="ces_03_0072__p15553712182924">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="ces_03_0072__row4852193611387"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0072__p581987519168">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0072__p164784039168">Request error.</p>
</td>
</tr>
<tr id="ces_03_0072__row188531636193819"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0072__p2691669168">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0072__p218024949168">The authentication information is not provided or is incorrect.</p>
</td>
</tr>
<tr id="ces_03_0072__row118531636123816"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0072__p563264059168">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0072__p661449719168">Access to the requested page is forbidden.</p>
</td>
</tr>
<tr id="ces_03_0072__row4853436123812"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0072__p355199299168">408 Request Timeout</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0072__p585420329168">The request timed out.</p>
</td>
</tr>
<tr id="ces_03_0072__row1285303673812"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0072__p630127129168">429 Too Many Requests</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0072__p37560249168">Concurrent requests are excessive.</p>
</td>
</tr>
<tr id="ces_03_0072__row1853336203811"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0072__p537873819168">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0072__p618106189168">Failed to complete the request because of an internal service error.</p>
</td>
</tr>
<tr id="ces_03_0072__row38537365385"><td class="cellrowborder" valign="top" width="32.1%" headers="mcps1.3.5.2.2.1.1.3.1.1 "><p id="ces_03_0072__p298930079168">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="67.9%" headers="mcps1.3.5.2.2.1.1.3.1.2 "><p id="ces_03_0072__p54144829168">The service is currently unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="ces_03_0072__section121612204463"><h4 class="sectiontitle">Error Codes</h4><p id="ces_03_0072__en-us_topic_0171212585_p91851023153416">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ces_03_0067.html">Resource Groups</a></div>
</div>
</div>