doc-exports/docs/vpn/api-ref/vpn_api_1040.html
Hongwei, King Wang 32c06a10a2 vpn_api
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
Co-committed-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
2024-08-15 14:18:28 +00:00

49 lines
4.9 KiB
HTML

<a name="EN-US_TOPIC_0000001807370552"></a><a name="EN-US_TOPIC_0000001807370552"></a>
<h1 class="topictitle1">Deleting an IPsec Policy</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_section44896221"><h4 class="sectiontitle"><strong id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_b842352706112523">Function</strong></h4><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p57311924">This interface is used to delete an IPsec policy.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_section1412808"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p10337871838">DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_table44973181017" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_row15504918204"><th align="left" class="cellrowborder" valign="top" width="25.507449255074494%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p1550413181805"><strong id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_b842352706172115">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p135113181904">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.288571142885711%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p45111018804">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45.91540845915409%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p125111818109">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_row1151910188014"><td class="cellrowborder" valign="top" width="25.507449255074494%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p11519418808">ipsecpolicy_id</p>
</td>
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p051911182003">String</p>
</td>
<td class="cellrowborder" valign="top" width="14.288571142885711%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p125198181109">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="45.91540845915409%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p1651921810014">Specifies the IPsec policy ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_section47328638"><h4 class="sectiontitle">Request Message</h4><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p4919936153613">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_section23304563"><h4 class="sectiontitle">Response Message</h4><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p11041789">None</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_section8414476"><h4 class="sectiontitle">Example</h4><ul id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_ul1041212103513"><li id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_li124124101350">Example Request</li></ul>
<pre class="screen" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_screen21969731">DELETE /v2.0/vpn/ipsecpolicies/{ipsecpolicy_id}</pre>
</div>
<ul id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_ul7413194323616"><li id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_li13413743153617">Example Response<p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_p11107154915364"><a name="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_li13413743153617"></a><a name="en-us_topic_0000001541136766_li13413743153617"></a>None</p>
</li></ul>
<div class="section" id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_section6578292"><h4 class="sectiontitle">Returned Values</h4><p id="EN-US_TOPIC_0000001807370552__en-us_topic_0000001541136766_en-us_topic_0053740035_p19515943486">For details, see section <a href="vpn_api_1054.html#EN-US_TOPIC_0000001854089293">Common Returned Values</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpn_api_1035.html">IPsec Policy Management</a></div>
</div>
</div>