forked from laiweijian4/doc-exports
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: gtema <artem.goncharov@gmail.com> Co-committed-by: gtema <artem.goncharov@gmail.com>
62 lines
5.0 KiB
HTML
62 lines
5.0 KiB
HTML
<a name="vpc_subnet01_0005"></a><a name="vpc_subnet01_0005"></a>
|
|
|
|
<h1 class="topictitle1">Deleting a Subnet</h1>
|
|
<div id="body59721402"><div class="section" id="vpc_subnet01_0005__section36031167"><h4 class="sectiontitle">Function</h4><p id="vpc_subnet01_0005__p5595356">This API is used to delete a subnet.</p>
|
|
</div>
|
|
<div class="section" id="vpc_subnet01_0005__section55845053"><h4 class="sectiontitle">URI</h4><p id="vpc_subnet01_0005__p10919327015">DELETE /v1/{project_id}/vpcs/{vpc_id}/subnets/{subnet_id}</p>
|
|
<div class="p" id="vpc_subnet01_0005__p128625193717"><a href="#vpc_subnet01_0005__table23279683">Table 1</a> describes the parameters.
|
|
<div class="tablenoborder"><a name="vpc_subnet01_0005__table23279683"></a><a name="table23279683"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_subnet01_0005__table23279683" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_subnet01_0005__row57883273"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.3.2.2.4.1.1"><p id="vpc_subnet01_0005__p58033516">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_subnet01_0005__p3094327">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_subnet01_0005__p49313939">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="vpc_subnet01_0005__row35006119"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_subnet01_0005__p16923420">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_subnet01_0005__p28619802">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_subnet01_0005__p10487112">Specifies the project ID. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_subnet01_0005__row29689498122133"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_subnet01_0005__p37198247122136">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_subnet01_0005__p60268063122136">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_subnet01_0005__p49874919122136">Specifies the ID of the subnet VPC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="vpc_subnet01_0005__row60087944"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_subnet01_0005__p35285314">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_subnet01_0005__p39538176">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_subnet01_0005__p48475691">Specifies the subnet ID, which uniquely identifies the subnet.</p>
|
|
<p id="vpc_subnet01_0005__p11767182811447">If you use the management console, the value of this parameter is the <strong id="vpc_subnet01_0005__vpc_subnet01_0002_b195522519461">Network ID</strong> value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="vpc_subnet01_0005__section32843429"><h4 class="sectiontitle">Request Message</h4><ul id="vpc_subnet01_0005__ul34216874"><li id="vpc_subnet01_0005__li46712854">Request parameter<p id="vpc_subnet01_0005__p12345400203926"><a name="vpc_subnet01_0005__li46712854"></a><a name="li46712854"></a>None</p>
|
|
</li><li id="vpc_subnet01_0005__li5283856794326">Example request<pre class="screen" id="vpc_subnet01_0005__screen11064229144112">DELETE https://{Endpoint}/v1/{project_id}/vpcs/{vpc_id}/subnets/4779ab1c-7c1a-44b1-a02e-93dfc361b32d</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="vpc_subnet01_0005__section27155410"><h4 class="sectiontitle">Response Message</h4><ul id="vpc_subnet01_0005__ul1674015461201"><li id="vpc_subnet01_0005__li16740646605">Response parameter<p id="vpc_subnet01_0005__p13741104613010"><a name="vpc_subnet01_0005__li16740646605"></a><a name="li16740646605"></a>None</p>
|
|
</li><li id="vpc_subnet01_0005__li137414461204">Example response<p id="vpc_subnet01_0005__p12742246405"><a name="vpc_subnet01_0005__li137414461204"></a><a name="li137414461204"></a>None</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="vpc_subnet01_0005__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_subnet01_0005__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="vpc_subnet01_0005__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_subnet01_0005__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_subnet01_0000.html">Subnet</a></div>
|
|
</div>
|
|
</div>
|
|
|