doc-exports/docs/eip/api-ref/eip_apisharedbandwidth_0003.html
Qin Ying, Fan 65b77b76d4 EIP API 20230106 version
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2023-08-01 06:58:15 +00:00

59 lines
6.1 KiB
HTML

<a name="eip_apisharedbandwidth_0003"></a><a name="eip_apisharedbandwidth_0003"></a>
<h1 class="topictitle1">Deleting a Shared Bandwidth</h1>
<div id="body8662426"><div class="section" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_section21768161"><h4 class="sectiontitle">Function</h4><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p7035667">This API is used to delete a shared bandwidth.</p>
</div>
<div class="section" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_section61695723"><h4 class="sectiontitle">URI</h4><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p1162811481806">DELETE /v2.0/{project_id}/bandwidths/{bandwidth_id}</p>
<div class="p" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p027924010539"><a href="#eip_apisharedbandwidth_0003__en-us_topic_0201534305_table45251091">Table 1</a> describes the parameters.
<div class="tablenoborder"><a name="eip_apisharedbandwidth_0003__en-us_topic_0201534305_table45251091"></a><a name="en-us_topic_0201534305_table45251091"></a><table cellpadding="4" cellspacing="0" summary="" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_table45251091" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_row25040094"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.3.2.2.4.1.1"><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p14981763"><strong id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_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="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p5563313"><strong id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_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="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p47975183"><strong id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_b8423527061645">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_row60784581"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_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="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p46769243">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p10487112">Specifies the project ID. </p>
</td>
</tr>
<tr id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_row3475817"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_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="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p54932709">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p20364417">Specifies the bandwidth ID, which uniquely identifies the bandwidth.</p>
<p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p759405915917">Currently, only the shared bandwidth can be deleted.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_section18390601"><h4 class="sectiontitle">Request Message</h4><ul id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_ul38905106"><li id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_li41882373">Request parameter<p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p23026123365"><a name="eip_apisharedbandwidth_0003__en-us_topic_0201534305_li41882373"></a><a name="en-us_topic_0201534305_li41882373"></a>None</p>
</li><li id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_li2173920694527">Example request<pre class="screen" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_screen920411176309">DELETE https://{Endpoint}/v2.0/{project_id}/bandwidths/{bandwidth_id}</pre>
</li></ul>
</div>
<div class="section" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_section31297682"><h4 class="sectiontitle">Response Message</h4><ul id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_ul64826129"><li id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_li15730936211">Response parameter<p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p107341136218"><a name="eip_apisharedbandwidth_0003__en-us_topic_0201534305_li15730936211"></a><a name="en-us_topic_0201534305_li15730936211"></a>None</p>
</li><li id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_li46564252">Example response<p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p368132953017"><a name="eip_apisharedbandwidth_0003__en-us_topic_0201534305_li46564252"></a><a name="en-us_topic_0201534305_li46564252"></a>Or</p>
<pre class="screen" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_screen19751247183017">{
"code":"xxx",
"message":"xxxxx"
}</pre>
</li></ul>
</div>
<div class="section" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_section31981619"><h4 class="sectiontitle">Status Code</h4><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p18112112662914">See <a href="eip_api05_0001.html#eip_api05_0001">Status Codes</a>.</p>
</div>
<div class="section" id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_section85821649202813"><h4 class="sectiontitle">Error Code</h4><p id="eip_apisharedbandwidth_0003__en-us_topic_0201534305_p7233105282813">See <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="eip_apisharedbandwidth_0000.html">Bandwidth (V2.0)</a></div>
</div>
</div>