doc-exports/docs/vpc/api-ref/vpc_sg01_0008.html
Qin Ying, Fan 310d2d9eb1 VPC API 20230106 version
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>
2024-02-06 08:38:37 +00:00

54 lines
4.1 KiB
HTML

<a name="vpc_sg01_0008"></a><a name="vpc_sg01_0008"></a>
<h1 class="topictitle1">Deleting a Security Group Rule</h1>
<div id="body1512613480722"><div class="section" id="vpc_sg01_0008__section4195542395259"><h4 class="sectiontitle">Function</h4><p id="vpc_sg01_0008__p6584443995259">This API is used to delete a security group rule.</p>
</div>
<div class="section" id="vpc_sg01_0008__section5844660495259"><h4 class="sectiontitle">URI</h4><p id="vpc_sg01_0008__p14428195432219">DELETE /v1/{project_id}/security-group-rules/{security_group_rule_id}</p>
<div class="p" id="vpc_sg01_0008__p18287171515219"><a href="#vpc_sg01_0008__table1939240195259">Table 1</a> describes the parameters.
<div class="tablenoborder"><a name="vpc_sg01_0008__table1939240195259"></a><a name="table1939240195259"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_sg01_0008__table1939240195259" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_sg01_0008__row1961474195259"><th align="left" class="cellrowborder" valign="top" width="33.87338733873387%" id="mcps1.3.2.3.2.2.4.1.1"><p id="vpc_sg01_0008__p1035476495259"><strong id="vpc_sg01_0008__b842352706195711">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.632463246324633%" id="mcps1.3.2.3.2.2.4.1.2"><p id="vpc_sg01_0008__p1553041195259"><strong id="vpc_sg01_0008__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_0008__p2600047695259"><strong id="vpc_sg01_0008__b372029376201138">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_sg01_0008__row1253681595259"><td class="cellrowborder" valign="top" width="33.87338733873387%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_sg01_0008__p195301238161816">security_group_rule_id</p>
</td>
<td class="cellrowborder" valign="top" width="24.632463246324633%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_sg01_0008__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_0008__p1165773195259">Specifies the security group rule ID, which uniquely identifies the security group rule.</p>
</td>
</tr>
<tr id="vpc_sg01_0008__row4225519995259"><td class="cellrowborder" valign="top" width="33.87338733873387%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_sg01_0008__p137426195259">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="24.632463246324633%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_sg01_0008__p3252720195259">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_0008__p10487112">Specifies the project ID. </p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="vpc_sg01_0008__section3936161695259"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_sg01_0008__p3740293395259">None</p>
</div>
<div class="section" id="vpc_sg01_0008__section8811057115113"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="vpc_sg01_0008__screen32273037144016">DELETE https://{Endpoint}/v1/{project_id}/security-group-rules/2bc0accf-312e-429a-956e-e4407625eb62</pre>
</div>
<div class="section" id="vpc_sg01_0008__section3532656695259"><h4 class="sectiontitle">Response Parameters</h4><p id="vpc_sg01_0008__p1930142719233">None</p>
</div>
<div class="section" id="vpc_sg01_0008__section156663405613"><h4 class="sectiontitle">Example Response</h4><p id="vpc_sg01_0008__p44662950103621">None</p>
</div>
<div class="section" id="vpc_sg01_0008__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_sg01_0008__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="vpc_sg01_0008__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_sg01_0008__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>