deleteLoadBalancerInstances
    • PDF

    deleteLoadBalancerInstances

    • PDF

    Article summary

    Available in VPC

    Delete load balancer instances.

    Request

    The following describes the request format for the endpoint. The request format is as follows:

    MethodURI
    GET/deleteLoadBalancerInstances

    Request headers

    For headers common to all Load Balancer APIs, see Load Balancer common headers.

    Request query parameters

    The following describes the parameters.

    FieldTypeRequiredDescription
    regionCodeStringOptionalRegion code for the load balancer instance you want to delete
    • First Region of the getRegionList search result (default)
    • Check through getRegionList
    loadBalancerInstanceNoList.NList<String>RequiredList of numbers of the load balancer instances
    • loadBalancerInstanceNo can be obtained through getLoadBalancerInstanceList
    • <E.g.> loadBalancerInstanceNoList.1=1234&loadBalancerInstanceNoList.2=2345
    returnPublicIpTogetherBooleanOptionalWhether to terminate the assigned public IP instance
    • true (default) | false
    • It is only available in Singapore and Japan Regions
    responseFormatTypeStringOptionalResponse result format
    • xml (default) | json

    Request example

    The following is a sample request.

    curl --location 'https://ncloud.apigw.ntruss.com/vloadbalancer/v2/deleteLoadBalancerInstances
    ?regionCode=KR
    &loadBalancerInstanceNoList.1=********'
    --header 'x-ncp-apigw-timestamp: {Timestamp}'
    --header 'x-ncp-iam-access-key: {Access Key}'
    --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
    

    Response

    The following describes the response format.

    Response body

    See LoadBalancerInstanceList for the response body.

    Response status codes

    For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    Response example

    The following is a sample response.

    <deleteLoadBalancerInstancesResponse>
        <requestId>7976408b-ba82-4e50-997e-44a0749b32f2</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <loadBalancerInstanceList>
            <loadBalancerInstance>
                <loadBalancerInstanceNo>********</loadBalancerInstanceNo>
                <loadBalancerInstanceStatus>
                    <code>USED</code>
                    <codeName>LB USED state</codeName>
                </loadBalancerInstanceStatus>
                <loadBalancerInstanceOperation>
                    <code>TERMT</code>
                    <codeName>LB TERMINATE OP</codeName>
                </loadBalancerInstanceOperation>
                <loadBalancerInstanceStatusName>Terminating</loadBalancerInstanceStatusName>
                <loadBalancerDescription></loadBalancerDescription>
                <createDate>2024-06-03T18:52:28+0900</createDate>
                <loadBalancerName>YOUR_LOAD_BALANCER</loadBalancerName>
                <loadBalancerDomain>***.com</loadBalancerDomain>
                <loadBalancerIpList>
                    <loadBalancerIp>**.*.*.*</loadBalancerIp>
                </loadBalancerIpList>
                <loadBalancerType>
                    <code>APPLICATION</code>
                    <codeName>Application Load Balancer</codeName>
                </loadBalancerType>
                <loadBalancerNetworkType>
                    <code>PRIVATE</code>
                    <codeName>Private</codeName>
                </loadBalancerNetworkType>
                <throughputType>
                    <code>SMALL</code>
                    <codeName>Small</codeName>
                </throughputType>
                <idleTimeout>60</idleTimeout>
                <vpcNo>*****</vpcNo>
                <regionCode>KR</regionCode>
                <subnetNoList>
                    <subnetNo>******</subnetNo>
                </subnetNoList>
                <loadBalancerSubnetList>
                    <loadBalancerSubnet>
                        <zoneCode>KR-1</zoneCode>
                        <subnetNo>******</subnetNo>
                        <publicIpInstanceNo></publicIpInstanceNo>
                    </loadBalancerSubnet>
                </loadBalancerSubnetList>
                <loadBalancerListenerNoList>
                    <loadBalancerListenerNo>******</loadBalancerListenerNo>
                </loadBalancerListenerNoList>
            </loadBalancerInstance>
        </loadBalancerInstanceList>
    </deleteLoadBalancerInstancesResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.