DeleteLoadBalancers

Last updated: 2020-08-04 14:36:49

    Unless otherwise specified, each request returns the following fields in its response:

    API Description

    This API is used to delete the specified CLB instance(s).
    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 DeleteLoadBalancers.

    Parameter Required Type Description
    loadBalancerIds.n Yes String CLB instance ID, which can be queried via the DescribeLoadBalancers 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.
    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=DeleteLoadBalancers
    &<Common request parameters>
    &loadBalancerIds.0=lb-abcdefgh
    

    Response

    {
        "code": 0,
        "message": "",
        "codeDesc": "Success",
        "requestId": 6356502
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help