forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
63 lines
8.3 KiB
HTML
63 lines
8.3 KiB
HTML
<a name="eip_api_0005"></a><a name="eip_api_0005"></a>
|
|
|
|
<h1 class="topictitle1">Releasing an EIP</h1>
|
|
<div id="body8662426"><div class="section" id="eip_api_0005__en-us_topic_0201534180_section21768161"><h4 class="sectiontitle">Function</h4><p id="eip_api_0005__en-us_topic_0201534180_p7035667">This API is used to release an EIP.</p>
|
|
<div class="note" id="eip_api_0005__note18686528124513"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><div class="p" id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_p39817577485">Note the following when you use EIPs of the Dedicated Load Balancer (<strong id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_b1958731314398">5_gray</strong>) type:<ul id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_ul18141507494"><li id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_li86521438154">In <strong id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_b126181649151714">eu-de</strong>, EIPs of the Dedicated Load Balancer (<strong id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_b108739322183">5_gray</strong>) type cannot be assigned anymore. You can assign EIPs of the BGP (<strong id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_b1874731121812">5_bgp</strong>) type.</li><li id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_li1194114411236">Existing EIPs of the Dedicated Load Balancer (<strong id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_b113526330389">5_gray</strong>) type can be bound to dedicated or shared load balancers.<ul id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_ul2044703613155"><li id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_li1222113518159">The EIP console cannot be used to bind EIPs to or unbind them from dedicated load balancers.</li><li id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_li1688013347356">You can use APIs to bind EIPs to or unbind them from dedicated load balancers. For details, see <a href="https://docs.otc.t-systems.com/elastic-ip/api-ref/api_v3/eips/binding_an_eip.html" target="_blank" rel="noopener noreferrer">Binding an EIP</a> and <a href="https://docs.otc.t-systems.com/elastic-ip/api-ref/api_v3/eips/unbinding_an_eip.html" target="_blank" rel="noopener noreferrer">Unbinding an EIP</a>.</li><li id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_li15559236131711">EIPs of this type can be bound to or unbound from shared load balancers using the EIP console or APIs.</li><li id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_li1659819163617">You are advised to bind BGP EIPs to or unbind them from dedicated load balancers.</li></ul>
|
|
</li><li id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_li1468695512506">Do not add EIPs of the dedicated load balancer type (<strong id="eip_api_0005__en-us_topic_0201534180_en-us_topic_0201534274_en-us_topic_0118498850_b354915453512">5_gray</strong>) and other types to the same shared bandwidth. Otherwise, the bandwidth limit policy will not take effect.</li></ul>
|
|
</div>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="eip_api_0005__en-us_topic_0201534180_section61695723"><h4 class="sectiontitle">URI</h4><p id="eip_api_0005__en-us_topic_0201534180_p1880364816319">DELETE /v1/{project_id}/publicips/{publicip_id}</p>
|
|
<div class="p" id="eip_api_0005__en-us_topic_0201534180_p11349430382"><a href="#eip_api_0005__en-us_topic_0201534180_table45251091">Table 1</a> describes the parameters.
|
|
<div class="tablenoborder"><a name="eip_api_0005__en-us_topic_0201534180_table45251091"></a><a name="en-us_topic_0201534180_table45251091"></a><table cellpadding="4" cellspacing="0" summary="" id="eip_api_0005__en-us_topic_0201534180_table45251091" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="eip_api_0005__en-us_topic_0201534180_row25040094"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.3.2.2.4.1.1"><p id="eip_api_0005__en-us_topic_0201534180_p14981763">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.3.2.2.4.1.2"><p id="eip_api_0005__en-us_topic_0201534180_p5563313">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.3.2.2.4.1.3"><p id="eip_api_0005__en-us_topic_0201534180_p47975183">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="eip_api_0005__en-us_topic_0201534180_row60784581"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="eip_api_0005__en-us_topic_0201534180_p24604028">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="eip_api_0005__en-us_topic_0201534180_p46769243">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="eip_api_0005__en-us_topic_0201534180_p10487112">Specifies the project ID. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="eip_api_0005__en-us_topic_0201534180_row3475817"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="eip_api_0005__en-us_topic_0201534180_p13105749">publicip_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="eip_api_0005__en-us_topic_0201534180_p54932709">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="eip_api_0005__en-us_topic_0201534180_p20364417">Specifies the unique identifier of an EIP.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="eip_api_0005__en-us_topic_0201534180_section18390601"><h4 class="sectiontitle">Request Message</h4><ul id="eip_api_0005__en-us_topic_0201534180_ul38905106"><li id="eip_api_0005__en-us_topic_0201534180_li41882373">Request parameter<p id="eip_api_0005__en-us_topic_0201534180_p531806143813"><a name="eip_api_0005__en-us_topic_0201534180_li41882373"></a><a name="en-us_topic_0201534180_li41882373"></a>None</p>
|
|
</li><li id="eip_api_0005__en-us_topic_0201534180_li2173920694527">Example request<pre class="screen" id="eip_api_0005__en-us_topic_0201534180_screen11845201552019">DELETE https://{Endpoint}/v1/{project_id}/publicips/{publicip_id}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="eip_api_0005__en-us_topic_0201534180_section31297682"><h4 class="sectiontitle">Response Message</h4><ul id="eip_api_0005__en-us_topic_0201534180_ul64826129"><li id="eip_api_0005__en-us_topic_0201534180_li02161532143211">Response parameter<p id="eip_api_0005__en-us_topic_0201534180_p12220143211323"><a name="eip_api_0005__en-us_topic_0201534180_li02161532143211"></a><a name="en-us_topic_0201534180_li02161532143211"></a>None</p>
|
|
</li><li id="eip_api_0005__en-us_topic_0201534180_li46564252">Example response<p id="eip_api_0005__en-us_topic_0201534180_p173930297206"><a name="eip_api_0005__en-us_topic_0201534180_li46564252"></a><a name="en-us_topic_0201534180_li46564252"></a>None</p>
|
|
<p id="eip_api_0005__en-us_topic_0201534180_p439562917205">Or</p>
|
|
<pre class="screen" id="eip_api_0005__en-us_topic_0201534180_screen1060115315202">{
|
|
"code":"xxx",
|
|
"message":"xxxxx"
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="eip_api_0005__en-us_topic_0201534180_section31981619"><h4 class="sectiontitle">Status Code</h4><p id="eip_api_0005__en-us_topic_0201534180_p18112112662914">See <a href="eip_api05_0001.html#eip_api05_0001">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="eip_api_0005__en-us_topic_0201534180_section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="eip_api_0005__en-us_topic_0201534180_p7233105282813">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="eip_api_0000.html">EIP</a></div>
|
|
</div>
|
|
</div>
|
|
|