forked from docs/doc-exports
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
54 lines
4.1 KiB
HTML
54 lines
4.1 KiB
HTML
<a name="vpc_sg01_0004"></a><a name="vpc_sg01_0004"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Security Group</h1>
|
|
<div id="body1512094962306"><div class="section" id="vpc_sg01_0004__section4195542395259"><h4 class="sectiontitle">Function</h4><p id="vpc_sg01_0004__p6584443995259">This API is used to delete a security group.</p>
|
|
</div>
|
|
<div class="section" id="vpc_sg01_0004__section5844660495259"><h4 class="sectiontitle">URI</h4><p id="vpc_sg01_0004__p1886217493311">DELETE /v1/{project_id}/security-groups/{security_group_id}</p>
|
|
<div class="p" id="vpc_sg01_0004__p661170135712"><a href="#vpc_sg01_0004__table1939240195259">Table 1</a> describes the parameters.
|
|
<div class="tablenoborder"><a name="vpc_sg01_0004__table1939240195259"></a><a name="table1939240195259"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_sg01_0004__table1939240195259" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_sg01_0004__row1961474195259"><th align="left" class="cellrowborder" valign="top" width="28.232823282328233%" id="mcps1.3.2.3.2.2.4.1.1"><p id="vpc_sg01_0004__p1035476495259"><strong id="vpc_sg01_0004__b842352706195711">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="30.273027302730277%" id="mcps1.3.2.3.2.2.4.1.2"><p id="vpc_sg01_0004__p1553041195259"><strong id="vpc_sg01_0004__b842352706145619">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="41.494149414941496%" id="mcps1.3.2.3.2.2.4.1.3"><p id="vpc_sg01_0004__p2600047695259"><strong id="vpc_sg01_0004__b372029376201138">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_sg01_0004__row1253681595259"><td class="cellrowborder" valign="top" width="28.232823282328233%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_sg01_0004__p2796266695259">security_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.273027302730277%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_sg01_0004__p3612906795259">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.494149414941496%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_sg01_0004__p1165773195259">Specifies the security group ID, which uniquely identifies the security group.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_sg01_0004__row4225519995259"><td class="cellrowborder" valign="top" width="28.232823282328233%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_sg01_0004__p137426195259">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="30.273027302730277%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_sg01_0004__p3252720195259">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="41.494149414941496%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_sg01_0004__p10487112">Specifies the project ID. </p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_sg01_0004__section3936161695259"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_sg01_0004__p3740293395259">None</p>
|
|
</div>
|
|
<div class="section" id="vpc_sg01_0004__section12867982475"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="vpc_sg01_0004__screen519267916354">DELETE https://{Endpoint}/v1/{project_id}/security-groups/0c4a2336-b036-4fa2-bc3c-1a291ed4c431</pre>
|
|
</div>
|
|
<div class="section" id="vpc_sg01_0004__section3532656695259"><h4 class="sectiontitle">Response Parameters</h4><p id="vpc_sg01_0004__p1146716331741">None</p>
|
|
</div>
|
|
<div class="section" id="vpc_sg01_0004__section35451148194718"><h4 class="sectiontitle">Example Response</h4><p id="vpc_sg01_0004__p44662950103621">None</p>
|
|
</div>
|
|
<div class="section" id="vpc_sg01_0004__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_sg01_0004__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="vpc_sg01_0004__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_sg01_0004__p17281622133910">See <a href="vpc_api_0003.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpc_sg01_0000.html">Security Group</a></div>
|
|
</div>
|
|
</div>
|
|
|