tencent cloud

文档反馈

DeleteLoadBalancerListeners

最后更新时间:2021-04-15 11:23:05

    API Description

    This API is used to delete listener(s) of a CLB instance.

    Domain name for API calls: lb.api.qcloud.com

    Request Parameters

    The list below contains only the API request parameters. Common parameters should be added when you call the API. For more information, see Common Request Parameters. The Action field for this API is DeleteLoadBalancerListeners.

    Parameter Required Type Description
    loadBalancerId Yes String CLB instance ID, which can be queried via the DescribeLoadBalancers API.
    listenerIds.n Yes String ID of the CLB listener to delete, which can be queried via the DescribeLoadBalancerListeners API.

    Response Parameters

    Parameter Type Description
    code Int Common error code. 0: success; other values: failure. For more information, see Common Error Codes.
    message String API-related module error message description.
    codeDesc String Error code. For a successful operation, "Success" is returned. For a failed operation, a message describing the failure is returned.
    requestId Int Request task ID. The API provides an asynchronous task. You can use this parameter to query the execution result via the DescribeLoadBalancersTaskResult API.

    Example

    Request

    https://lb.api.qcloud.com/v2/index.php?Action=DeleteLoadBalancerListeners
    &<Common request parameters>
    &loadBalancerId=lb-abcdefgh
    &listenerIds.0=lbl-rbuzrm5d
    

    Response

    {
        "code" : 0,
        "message" : "",
        "codeDesc": "Success",
        "requestId" : 1234
    }
    
    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持