Deleting a Listener
Function
This API is used to delete a listener by ID.
Constraints
Before deleting the listener, delete the associated backend server groups by referring to Deleting a Backend Server Group, or change the value of default_pool_id to null by referring to Updating a Listener and delete associated forwarding policies by referring to Deleting a Forwarding Policy.
URI
DELETE /v2.0/lbaas/listeners/{listener_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
listener_id |
Yes |
String |
Specifies the listener ID. |
cascade |
No |
boolean |
[Discarded] Specifies whether to delete the resources associated with the listener when the listener is deleted, including the backend server groups and backend servers. |
Request
None
Response
None
Example Request
- Example request: Deleting a listener
DELETE https://{Endpoint}/v2.0/lbaas/listeners/35cb8516-1173-4035-8dae-0dae3453f37f
Status Code
For details, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot