forked from laiweijian4/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
51 lines
4.1 KiB
HTML
51 lines
4.1 KiB
HTML
<a name="vpcep_06_0305"></a><a name="vpcep_06_0305"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a VPC Endpoint</h1>
|
|
<div id="body37967333"><div class="section" id="vpcep_06_0305__section23326136"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="vpcep_06_0305__p55455104">This API is used to delete a VPC endpoint.</p>
|
|
</div>
|
|
<div class="section" id="vpcep_06_0305__section8608636"><h4 class="sectiontitle">URI</h4><p class="msonormal" id="vpcep_06_0305__p62678444">DELETE /v1/{project_id}/vpc-endpoints/{vpc_endpoint_id}</p>
|
|
<div class="msonormal" id="vpcep_06_0305__p1161327111017">For detailed about the parameters, see <a href="#vpcep_06_0305__table2452701">Table 1</a>.
|
|
<div class="tablenoborder"><a name="vpcep_06_0305__table2452701"></a><a name="table2452701"></a><table cellpadding="4" cellspacing="0" summary="" id="vpcep_06_0305__table2452701" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="vpcep_06_0305__row24297719"><th align="left" class="cellrowborder" valign="top" width="32.65%" id="mcps1.3.2.3.2.2.4.1.1"><p id="vpcep_06_0305__p21958222"><strong id="vpcep_06_0305__b9157810591">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.529999999999998%" id="mcps1.3.2.3.2.2.4.1.2"><p id="vpcep_06_0305__p33785549"><strong id="vpcep_06_0305__b1966812480581">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.82%" id="mcps1.3.2.3.2.2.4.1.3"><p id="vpcep_06_0305__p52274973"><strong id="vpcep_06_0305__b3452650145819">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpcep_06_0305__row6414438"><td class="cellrowborder" valign="top" width="32.65%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpcep_06_0305__p49807439">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpcep_06_0305__p7870720">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.82%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpcep_06_0305__p33548578">Specifies the project ID. For details about how to obtain the project ID, see <a href="vpcep_08_0003_0.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpcep_06_0305__row33501748"><td class="cellrowborder" valign="top" width="32.65%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpcep_06_0305__p29287106">vpc_endpoint_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.529999999999998%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpcep_06_0305__p23445396">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.82%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpcep_06_0305__p20028947">Specifies the ID of the VPC endpoint.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpcep_06_0305__section10368864"><h4 class="sectiontitle">Request</h4><ul id="vpcep_06_0305__ul14882654123012"><li class="msonormal" id="vpcep_06_0305__li17882115493016">Parameter description<p class="msonormal" id="vpcep_06_0305__p1446773325016"><a name="vpcep_06_0305__li17882115493016"></a><a name="li17882115493016"></a>None</p>
|
|
</li><li id="vpcep_06_0305__li26813226351">Example request<div class="p" id="vpcep_06_0305__p7758312912"><a name="vpcep_06_0305__li26813226351"></a><a name="li26813226351"></a>This request is to delete the VPC endpoint whose ID is <strong id="vpcep_06_0305__b4943133142218">4189d3c2-8882-4871-a3c2-d380272eed83</strong>.<pre class="codeblock" id="vpcep_06_0305__codeblock18329829799">DELETE https://{endpoint}/v1/{project_id}/vpc-endpoints/4189d3c2-8882-4871-a3c2-d380272eed83</pre>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="vpcep_06_0305__section34571669"><h4 class="sectiontitle">Response</h4><p class="msonormal" id="vpcep_06_0305__p9493836">None</p>
|
|
</div>
|
|
<div class="section" id="vpcep_06_0305__section48841790"><h4 class="sectiontitle">Status Code</h4><p class="msonormal" id="vpcep_06_0305__p12035394">For details about status codes, see <a href="vpcep_08_0001.html">Status Code</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpcep_06_0300.html">APIs for Managing VPC Endpoints</a></div>
|
|
</div>
|
|
</div>
|
|
|