doc-exports/docs/vpc/api-ref/vpc_privateip_0004.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.0 KiB
HTML

<a name="vpc_privateip_0004"></a><a name="vpc_privateip_0004"></a>
<h1 class="topictitle1">Deleting a Private IP Address</h1>
<div id="body9122323"><div class="section" id="vpc_privateip_0004__section1933992"><h4 class="sectiontitle">Function</h4><p id="vpc_privateip_0004__p710726">This API is used to delete a private IP address.</p>
</div>
<div class="section" id="vpc_privateip_0004__section17405935"><h4 class="sectiontitle">URI</h4><p id="vpc_privateip_0004__p425615023912">DELETE /v1/{project_id}/privateips/{privateip_id}</p>
<div class="p" id="vpc_privateip_0004__p3742164517553"><a href="#vpc_privateip_0004__table24633528">Table 1</a> describes the parameters.
<div class="tablenoborder"><a name="vpc_privateip_0004__table24633528"></a><a name="table24633528"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_privateip_0004__table24633528" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_privateip_0004__row5608311"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.3.2.2.4.1.1"><p id="vpc_privateip_0004__p51620080">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="vpc_privateip_0004__p20476957">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="vpc_privateip_0004__p48020839">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_privateip_0004__row64482741"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_privateip_0004__p55719536">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_privateip_0004__p16988543">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_privateip_0004__p10487112">Specifies the project ID. </p>
</td>
</tr>
<tr id="vpc_privateip_0004__row36617123"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_privateip_0004__p13196948">privateip_id</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_privateip_0004__p62319862">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_privateip_0004__p14744048">Specifies the ID of the private IP address, which uniquely identifies the private IP address.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="vpc_privateip_0004__section22435692"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_privateip_0004__p859157204445">None</p>
</div>
<div class="section" id="vpc_privateip_0004__section9955126592"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="vpc_privateip_0004__screen20059395144856">DELETE https://{Endpoint}/v1/{project_id}/privateips/4779ab1c-7c1a-44b1-a02e-93dfc361b32d</pre>
</div>
<div class="section" id="vpc_privateip_0004__section594640"><h4 class="sectiontitle">Response Parameters</h4><p id="vpc_privateip_0004__p189555644010">None</p>
</div>
<div class="section" id="vpc_privateip_0004__section1377221894"><h4 class="sectiontitle">Example Response</h4><p id="vpc_privateip_0004__p316352013514">None</p>
</div>
<div class="section" id="vpc_privateip_0004__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_privateip_0004__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="vpc_privateip_0004__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_privateip_0004__p7233105282813">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_privateip_0000.html">Private IP Address</a></div>
</div>
</div>