doc-exports/docs/vpc/api-ref/vpc_apiroutetab_0006.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

62 lines
5.1 KiB
HTML

<a name="vpc_apiroutetab_0006"></a><a name="vpc_apiroutetab_0006"></a>
<h1 class="topictitle1">Deleting a Route Table</h1>
<div id="body1548666369734"><div class="section" id="vpc_apiroutetab_0006__section689233093214"><h4 class="sectiontitle">Function</h4><p id="vpc_apiroutetab_0006__p109503302324">This API is used to delete a custom route table.</p>
<p id="vpc_apiroutetab_0006__p14351726121518">Constraints:</p>
<p id="vpc_apiroutetab_0006__p239182152012">Only custom route tables can be deleted. If a custom route table has subnets associated, disassociate the subnets with the route table and then delete the route table.</p>
</div>
<div class="section" id="vpc_apiroutetab_0006__section13893123043220"><h4 class="sectiontitle">URI</h4><p id="vpc_apiroutetab_0006__p1950173043214">DELETE /v1/{project_id}/routetables/{routetable_id}</p>
<p id="vpc_apiroutetab_0006__p11392124511210"><a href="#vpc_apiroutetab_0006__table13893430173220">Table 1</a> describes the parameters.</p>
<div class="tablenoborder"><a name="vpc_apiroutetab_0006__table13893430173220"></a><a name="table13893430173220"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_apiroutetab_0006__table13893430173220" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_apiroutetab_0006__row495003010329"><th align="left" class="cellrowborder" valign="top" width="24.242424242424242%" id="mcps1.3.2.4.2.5.1.1"><p id="vpc_apiroutetab_0006__p159504306328"><strong id="vpc_apiroutetab_0006__b1684314370185">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.21212121212121%" id="mcps1.3.2.4.2.5.1.2"><p id="vpc_apiroutetab_0006__p1895053033213"><strong id="vpc_apiroutetab_0006__b46316392185">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="26.26262626262626%" id="mcps1.3.2.4.2.5.1.3"><p id="vpc_apiroutetab_0006__p1295112301321"><strong id="vpc_apiroutetab_0006__b177816407186">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.28282828282828%" id="mcps1.3.2.4.2.5.1.4"><p id="vpc_apiroutetab_0006__p3951183020329"><strong id="vpc_apiroutetab_0006__b17461104214181">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_apiroutetab_0006__row1795111301323"><td class="cellrowborder" valign="top" width="24.242424242424242%" headers="mcps1.3.2.4.2.5.1.1 "><p id="vpc_apiroutetab_0006__p179511730183216">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.2.4.2.5.1.2 "><p id="vpc_apiroutetab_0006__p295113033217">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="26.26262626262626%" headers="mcps1.3.2.4.2.5.1.3 "><p id="vpc_apiroutetab_0006__p69511030123210">String</p>
</td>
<td class="cellrowborder" valign="top" width="28.28282828282828%" headers="mcps1.3.2.4.2.5.1.4 "><p id="vpc_apiroutetab_0006__p10487112">Specifies the project ID. </p>
</td>
</tr>
<tr id="vpc_apiroutetab_0006__row495114305323"><td class="cellrowborder" valign="top" width="24.242424242424242%" headers="mcps1.3.2.4.2.5.1.1 "><p id="vpc_apiroutetab_0006__p10951133003213">routetable_id</p>
</td>
<td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.2.4.2.5.1.2 "><p id="vpc_apiroutetab_0006__p18951143018326">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="26.26262626262626%" headers="mcps1.3.2.4.2.5.1.3 "><p id="vpc_apiroutetab_0006__p19513305322">String</p>
</td>
<td class="cellrowborder" valign="top" width="28.28282828282828%" headers="mcps1.3.2.4.2.5.1.4 "><p id="vpc_apiroutetab_0006__p7951530103218">Specifies the route table ID, which uniquely identifies a route table.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="vpc_apiroutetab_0006__section14906130173214"><h4 class="sectiontitle">Request Parameters</h4><p id="vpc_apiroutetab_0006__p99511830113217">None</p>
</div>
<div class="section" id="vpc_apiroutetab_0006__section37198461161"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="vpc_apiroutetab_0006__screen16492144111186">DELETE https://{Endpoint}/v1/{project_id}/routetables/3d42a0d4-a980-4613-ae76-a2cddecff054</pre>
</div>
<div class="section" id="vpc_apiroutetab_0006__section7910103033214"><h4 class="sectiontitle">Response Parameters</h4><p id="vpc_apiroutetab_0006__p10951173093219">None</p>
</div>
<div class="section" id="vpc_apiroutetab_0006__section489632182710"><h4 class="sectiontitle">Example Response</h4><p id="vpc_apiroutetab_0006__p139521301326">None</p>
</div>
<div class="section" id="vpc_apiroutetab_0006__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_apiroutetab_0006__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="vpc_apiroutetab_0006__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_apiroutetab_0006__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_apiroutetab_0000.html">Route Table</a></div>
</div>
</div>