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

59 lines
4.9 KiB
HTML

<a name="vpc_sharebandwidth_0003"></a><a name="vpc_sharebandwidth_0003"></a>
<h1 class="topictitle1">Deleting a Shared Bandwidth</h1>
<div id="body1523859979978"><div class="section" id="vpc_sharebandwidth_0003__section21768161"><h4 class="sectiontitle">Function</h4><p id="vpc_sharebandwidth_0003__p7035667">This API is used to delete a shared bandwidth.</p>
</div>
<div class="section" id="vpc_sharebandwidth_0003__section61695723"><h4 class="sectiontitle">URI</h4><p id="vpc_sharebandwidth_0003__p1162811481806">DELETE /v2.0/{project_id}/bandwidths/{bandwidth_id}</p>
<div class="p" id="vpc_sharebandwidth_0003__p027924010539"><a href="#vpc_sharebandwidth_0003__table45251091">Table 1</a> describes the parameters.
<div class="tablenoborder"><a name="vpc_sharebandwidth_0003__table45251091"></a><a name="table45251091"></a><table cellpadding="4" cellspacing="0" summary="" id="vpc_sharebandwidth_0003__table45251091" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="vpc_sharebandwidth_0003__row25040094"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.3.2.2.4.1.1"><p id="vpc_sharebandwidth_0003__p14981763"><strong id="vpc_sharebandwidth_0003__b842352706195711">Name</strong></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_sharebandwidth_0003__p5563313"><strong id="vpc_sharebandwidth_0003__b84235270615219">Mandatory</strong></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_sharebandwidth_0003__p47975183"><strong id="vpc_sharebandwidth_0003__b8423527061645">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="vpc_sharebandwidth_0003__row60784581"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_sharebandwidth_0003__p24604028">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_sharebandwidth_0003__p46769243">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_sharebandwidth_0003__p10487112">Specifies the project ID. </p>
</td>
</tr>
<tr id="vpc_sharebandwidth_0003__row3475817"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="vpc_sharebandwidth_0003__p13105749">bandwidth_id</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="vpc_sharebandwidth_0003__p54932709">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="vpc_sharebandwidth_0003__p20364417">Specifies the bandwidth ID, which uniquely identifies the bandwidth.</p>
<p id="vpc_sharebandwidth_0003__p759405915917">Currently, only the shared bandwidth can be deleted.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="vpc_sharebandwidth_0003__section18390601"><h4 class="sectiontitle">Request Message</h4><ul id="vpc_sharebandwidth_0003__ul38905106"><li id="vpc_sharebandwidth_0003__li41882373">Request parameter<p id="vpc_sharebandwidth_0003__p23026123365"><a name="vpc_sharebandwidth_0003__li41882373"></a><a name="li41882373"></a>None</p>
</li><li id="vpc_sharebandwidth_0003__li2173920694527">Example request<pre class="screen" id="vpc_sharebandwidth_0003__screen920411176309">DELETE https://{Endpoint}/v2.0/{project_id}/bandwidths/{bandwidth_id}</pre>
</li></ul>
</div>
<div class="section" id="vpc_sharebandwidth_0003__section31297682"><h4 class="sectiontitle">Response Message</h4><ul id="vpc_sharebandwidth_0003__ul64826129"><li id="vpc_sharebandwidth_0003__li15730936211">Response parameter<p id="vpc_sharebandwidth_0003__p107341136218"><a name="vpc_sharebandwidth_0003__li15730936211"></a><a name="li15730936211"></a>None</p>
</li><li id="vpc_sharebandwidth_0003__li46564252">Example response<p id="vpc_sharebandwidth_0003__p368132953017"><a name="vpc_sharebandwidth_0003__li46564252"></a><a name="li46564252"></a>Or</p>
<pre class="screen" id="vpc_sharebandwidth_0003__screen19751247183017">{
"code":"xxx",
"message":"xxxxx"
}</pre>
</li></ul>
</div>
<div class="section" id="vpc_sharebandwidth_0003__section31981619"><h4 class="sectiontitle">Status Code</h4><p id="vpc_sharebandwidth_0003__p18112112662914">See <a href="vpc_api_0002.html">Status Codes</a>.</p>
</div>
<div class="section" id="vpc_sharebandwidth_0003__section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="vpc_sharebandwidth_0003__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_sharebandwidth_0000.html">Bandwidth (V2.0)</a></div>
</div>
</div>