doc-exports/elb/api-ref/elb_jd_jt_0002.html

114 lines
10 KiB
HTML

<a name="elb_jd_jt_0002"></a><a name="elb_jd_jt_0002"></a>
<h1 class="topictitle1">Deleting a Listener</h1>
<h4 class="sectiontitle">Function</h4><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p34664974102243">This API is used to delete a listener.</p>
<h4 class="sectiontitle">URI</h4><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p40248354">DELETE /v1.0/{project_id}/elbaas/listeners/{listener_id}</p>
<table cellpadding="4" cellspacing="0" summary="" id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_table14476932" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row6756797"><th align="left" class="cellrowborder" valign="top" width="14.000000000000002%" id="mcps1.3.2.3.2.5.1.1"><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p10429724">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16%" id="mcps1.3.2.3.2.5.1.2"><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p39501348"><strong id="elb_jd_jt_0002__en-us_topic_0096561507_b842352706192244">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.2.3.2.5.1.3"><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p45676946114930"><strong id="elb_jd_jt_0002__en-us_topic_0096561507_b842352706145623">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.00000000000001%" id="mcps1.3.2.3.2.5.1.4"><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p45492604">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row581260011313"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_p1121217613563">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p952708311313">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p45365676114930">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.3.2.5.1.4 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p3349624511313">Specifies the project ID.</p>
</td>
</tr>
<tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row61022284"><td class="cellrowborder" valign="top" width="14.000000000000002%" headers="mcps1.3.2.3.2.5.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p43857981">listener_id</p>
</td>
<td class="cellrowborder" valign="top" width="16%" headers="mcps1.3.2.3.2.5.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p62835574">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.3.2.5.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p54492625114925">String</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.3.2.5.1.4 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p56516768">Specifies the listener ID.</p>
</td>
</tr>
</tbody>
</table>
<h4 class="sectiontitle">Request</h4><ul id="elb_jd_jt_0002__en-us_topic_0096561507_ul14640111064018"><li id="elb_jd_jt_0002__en-us_topic_0096561507_li76402010134019">Request parameters<p id="elb_jd_jt_0002__en-us_topic_0096561507_p1636083911413"><a name="elb_jd_jt_0002__en-us_topic_0096561507_li76402010134019"></a><a name="en-us_topic_0096561507_li76402010134019"></a>None</p>
</li></ul>
<ul id="elb_jd_jt_0002__en-us_topic_0096561507_ul11296519134018"><li id="elb_jd_jt_0002__en-us_topic_0096561507_li929611924012">Example request<p id="elb_jd_jt_0002__en-us_topic_0096561507_p79512422418"><a name="elb_jd_jt_0002__en-us_topic_0096561507_li929611924012"></a><a name="en-us_topic_0096561507_li929611924012"></a>None</p>
</li></ul>
<h4 class="sectiontitle">Response</h4><ul id="elb_jd_jt_0002__en-us_topic_0096561507_ul52641521903"><li id="elb_jd_jt_0002__en-us_topic_0096561507_li152643523015">Response parameters<p id="elb_jd_jt_0002__en-us_topic_0096561507_p96591445144115"><a name="elb_jd_jt_0002__en-us_topic_0096561507_li152643523015"></a><a name="en-us_topic_0096561507_li152643523015"></a>None</p>
</li></ul>
<ul id="elb_jd_jt_0002__en-us_topic_0096561507_ul42645521602"><li id="elb_jd_jt_0002__en-us_topic_0096561507_li7264125220013">Example response<p id="elb_jd_jt_0002__en-us_topic_0096561507_p106424864114"><a name="elb_jd_jt_0002__en-us_topic_0096561507_li7264125220013"></a><a name="en-us_topic_0096561507_li7264125220013"></a>None</p>
</li></ul>
<h4 class="sectiontitle">Status Code</h4><ul id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_ul45933772"><li id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_li10750772">Normal<p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p29648085"><a name="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_li10750772"></a><a name="en-us_topic_0096561507_en-us_topic_0020100159_li10750772"></a>204</p>
</li><li id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_li65506178">Error
<table cellpadding="4" cellspacing="0" summary="" id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_table61925025151452" frame="border" border="1" rules="all"><thead align="left"><tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row50148870151452"><th align="left" class="cellrowborder" valign="top" width="12.13%" id="mcps1.3.5.2.2.1.1.4.1.1"><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p35526664151452">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="41.63%" id="mcps1.3.5.2.2.1.1.4.1.2"><p id="elb_jd_jt_0002__en-us_topic_0096561507_p49174305427">Message</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="46.239999999999995%" id="mcps1.3.5.2.2.1.1.4.1.3"><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p59087522151452">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row21359997151452"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.5.2.2.1.1.4.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p52438209151452">400</p>
</td>
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.5.2.2.1.1.4.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_p426325214214">badRequest</p>
</td>
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.5.2.2.1.1.4.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p19636500151452">Request error.</p>
</td>
</tr>
<tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row42510780151452"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.5.2.2.1.1.4.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p20821164151452">401</p>
</td>
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.5.2.2.1.1.4.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_p15263352124211">unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.5.2.2.1.1.4.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p8792704151452">Authentication failed.</p>
</td>
</tr>
<tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row12025475151452"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.5.2.2.1.1.4.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p34539433151452">403</p>
</td>
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.5.2.2.1.1.4.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_p526310522424">userDisabled</p>
</td>
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.5.2.2.1.1.4.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p46230695151452">You do not have the permission to perform the operation.</p>
</td>
</tr>
<tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row13423079151452"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.5.2.2.1.1.4.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p13527646151452">404</p>
</td>
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.5.2.2.1.1.4.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_p62631752144210">Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.5.2.2.1.1.4.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p21997504151452">The requested page does not exist.</p>
</td>
</tr>
<tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row63759814151452"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.5.2.2.1.1.4.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p64271286151452">500</p>
</td>
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.5.2.2.1.1.4.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_p1426311528422">authFault</p>
</td>
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.5.2.2.1.1.4.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p38591687151452">System error.</p>
</td>
</tr>
<tr id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_row11780867151452"><td class="cellrowborder" valign="top" width="12.13%" headers="mcps1.3.5.2.2.1.1.4.1.1 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p14726184151452">503</p>
</td>
<td class="cellrowborder" valign="top" width="41.63%" headers="mcps1.3.5.2.2.1.1.4.1.2 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_p8263155294215">serviceUnavailable</p>
</td>
<td class="cellrowborder" valign="top" width="46.239999999999995%" headers="mcps1.3.5.2.2.1.1.4.1.3 "><p id="elb_jd_jt_0002__en-us_topic_0096561507_en-us_topic_0020100159_p51970241151452">The service is unavailable.</p>
</td>
</tr>
</tbody>
</table>
</li></ul>
<strong>Parent topic:</strong> <a href="elb_jd_jt_0000.html">Listener</a>