doc-exports/docs/vpcep/api-ref/vpcep_06_0204.html
Qin Ying, Fan 8aa98e3fe1 vpcep_api
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>
2022-10-18 12:00:20 +00:00

51 lines
4.2 KiB
HTML

<a name="vpcep_06_0204"></a><a name="vpcep_06_0204"></a>
<h1 class="topictitle1">Deleting a VPC Endpoint Service</h1>
<div id="body25357967"><div class="section" id="vpcep_06_0204__section17315029"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="vpcep_06_0204__p40729432">This API is used to delete a VPC endpoint service.</p>
</div>
<div class="section" id="vpcep_06_0204__section21617533"><h4 class="sectiontitle">URI</h4><p class="msonormal" id="vpcep_06_0204__p590125372916">DELETE /v1/{project_id}/vpc-endpoint-services/{vpc_endpoint_service_id}</p>
<div class="msonormal" id="vpcep_06_0204__p624413203159"><a href="#vpcep_06_0204__table35049127">Table 1</a> describes the required parameters.
<div class="tablenoborder"><a name="vpcep_06_0204__table35049127"></a><a name="table35049127"></a><table cellpadding="4" cellspacing="0" summary="" id="vpcep_06_0204__table35049127" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="vpcep_06_0204__row6237533"><th align="left" class="cellrowborder" valign="top" width="32.65%" id="mcps1.3.2.3.2.2.4.1.1"><p id="vpcep_06_0204__p35478198"><strong id="vpcep_06_0204__b151561431185516">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_0204__p55161795"><strong id="vpcep_06_0204__b12208143912552">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_0204__p38920429"><strong id="vpcep_06_0204__b17240340135510">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpcep_06_0204__row65547035"><td class="cellrowborder" valign="top" width="32.65%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpcep_06_0204__p7709622">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_0204__p20499621">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_0204__p49856593">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_0204__row46056153"><td class="cellrowborder" valign="top" width="32.65%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpcep_06_0204__p39560874">vpc_endpoint_service_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_0204__p50314220">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_0204__p48920006">Specifies the ID of the VPC endpoint service.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="vpcep_06_0204__section60340071"><h4 class="sectiontitle">Request</h4><ul id="vpcep_06_0204__ul15822124253013"><li class="msonormal" id="vpcep_06_0204__li582114217302">Parameter description<p class="msonormal" id="vpcep_06_0204__p136343510251"><a name="vpcep_06_0204__li582114217302"></a><a name="li582114217302"></a>None</p>
</li><li id="vpcep_06_0204__li137532321230">Example request<div class="p" id="vpcep_06_0204__p893664515566"><a name="vpcep_06_0204__li137532321230"></a><a name="li137532321230"></a>This request is to delete the VPC endpoint service whose ID is <strong id="vpcep_06_0204__b811402513594">4189d3c2-8882-4871-a3c2-d380272eed88</strong>.<pre class="codeblock" id="vpcep_06_0204__codeblock5921944165613">DELETE https://{endpoint}/v1/{project_id}/vpc-endpoint-services/4189d3c2-8882-4871-a3c2-d380272eed88</pre>
</div>
</li></ul>
</div>
<div class="section" id="vpcep_06_0204__section4368746203313"><h4 class="sectiontitle">Response</h4><p id="vpcep_06_0204__p2893847123313">None</p>
</div>
<div class="section" id="vpcep_06_0204__section9976838"><h4 class="sectiontitle">Status Code</h4><p class="msonormal" id="vpcep_06_0204__p4256310">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_0200.html">APIs for Managing VPC Endpoint Services</a></div>
</div>
</div>