--- title: "addTarget" slug: "cli-vloadbalancer-targetgroup-addtarget" tags: ["Load Balancer", "VPC"] updated: 2026-10-08T05:08:10Z published: 2026-10-08T05:08:10Z canonical: "cli.ncloud-docs.com/cli-vloadbalancer-targetgroup-addtarget" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # addTarget Available in VPC Add a target that will be applied to a target group. The list of newly specified target numbers is added to the list of previously applied targets, and you can't add targets that are already bound. ## Syntax The `addTarget` syntax is as follows: ``` ./ncloud vloadbalancer addTarget \ --targetGroupNo \ --targetNoList \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `addTarget`. ### Required options The following options are required for `addTarget`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--targetGroupNo` | String | Required | Target group number - See [getTargetGroupList](/docs/en/cli-vloadbalancer-targetgroup-gettargetgrouplist). | | `--targetNoList` | List | Required | Target number list - You can enter multiple items separated by spaces (e.g., `--targetNoList 34567890 34567891`). - See [getServerInstanceList](/docs/en/cli-vserver-server-getserverinstancelist). | ### Common options For information about the options common to all `vloadbalancer` subcommands, see [Load Balancer (VPC) options](/docs/en/cli-vloadbalancer#%EC%98%B5%EC%85%98). ## Examples If the request to add a target is successful, the identification information and health check status of the target bound to the target group are returned. ### Command The command example is as follows: ``` ./ncloud vloadbalancer addTarget \ --targetGroupNo 55667788 \ --targetNoList 34567890 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "addTargetResponse": { "totalRows": 1, "targetList": [ { "targetNo": "34567890", "targetName": "lb-test-target-01", "targetIp": "10.0.1.6", "healthCheckStatus": { "code": "DOWN", "codeName": "Health DOWN state" }, "healthCheckResponse": "" } ], "requestId": "b8c9d0e1-f2a3-4567-bcde-890123456789", "returnCode": "0", "returnMessage": "success" } } ```