Available in VPC
Delete load balancer instances.
Syntax
The deleteLoadBalancerInstances syntax is as follows:
./ncloud vloadbalancer deleteLoadBalancerInstances \
--loadBalancerInstanceNoList <load-balancer-instance-no-list> \
[--returnPublicIpTogether <true|false>] \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running deleteLoadBalancerInstances.
Required options
The following options are required for deleteLoadBalancerInstances.
| Options | Type | Required | Description |
|---|---|---|---|
--loadBalancerInstanceNoList |
List | Required | List of load balancer instance numbers
|
Optional options
These are the optional options for deleteLoadBalancerInstances. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--returnPublicIpTogether |
Boolean | Optional | Whether to terminate the assigned public IP instance
|
Common options
For information about the options common to all vloadbalancer subcommands, see Load Balancer (VPC) options.
Examples
If the request to delete a load balancer instance is successful, the instance's configuration information and termination status are returned.
Command
The command example is as follows:
./ncloud vloadbalancer deleteLoadBalancerInstances \
--loadBalancerInstanceNoList 41112223 \
--returnPublicIpTogether true \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"deleteLoadBalancerInstancesResponse": {
"totalRows": 1,
"loadBalancerInstanceList": [
{
"loadBalancerInstanceNo": "41112223",
"loadBalancerInstanceStatus": {
"code": "USED",
"codeName": "LB USED state"
},
"loadBalancerInstanceOperation": {
"code": "TERMT",
"codeName": "LB TERMINATE OP"
},
"loadBalancerInstanceStatusName": "Terminating",
"loadBalancerDescription": "Updated load balancer description",
"createDate": "2026-07-07T17:12:11+0900",
"loadBalancerName": "lb-test-01",
"loadBalancerDomain": "lb-test-01-41112223-16dd7a5738c1.kr.lb.naverncp.com",
"loadBalancerIpList": [
"10.0.2.6",
"10.0.3.6"
],
"loadBalancerType": {
"code": "APPLICATION",
"codeName": "Application Load Balancer"
},
"loadBalancerNetworkType": {
"code": "PRIVATE",
"codeName": "Private"
},
"throughputType": {
"code": "SMALL",
"codeName": "Small"
},
"idleTimeout": 120,
"vpcNo": "12345678",
"regionCode": "KR",
"accessLogUseYn": "",
"subnetNoList": [
"23456790",
"23456791"
],
"loadBalancerSubnetList": [
{
"zoneCode": "KR-1",
"subnetNo": "23456790",
"publicIpInstanceNo": ""
},
{
"zoneCode": "KR-2",
"subnetNo": "23456791",
"publicIpInstanceNo": ""
}
],
"loadBalancerListenerNoList": [
"60001111"
]
}
],
"requestId": "a7b8c9d0-e1f2-3456-abcd-789012345678",
"returnCode": "0",
"returnMessage": "success"
}
}