--- title: "deleteTargetGroups" slug: "cli-vloadbalancer-targetgroup-deletetargetgroups" tags: ["Target Group", "Load Balancer"] updated: 2026-09-17T09:10:37Z published: 2026-09-17T09:10:37Z canonical: "cli-fin.ncloud-docs.com/cli-vloadbalancer-targetgroup-deletetargetgroups" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # deleteTargetGroups 타깃 그룹을 삭제합니다. 사용 중인 타깃 그룹은 삭제할 수 없습니다. ## 구문 `deleteTargetGroups` 구문은 다음과 같습니다. ``` ./ncloud vloadbalancer deleteTargetGroups \ --targetGroupNoList \ [--regionCode ] \ [--output ] ``` ## 옵션 `deleteTargetGroups` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `deleteTargetGroups`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--targetGroupNoList` | List | Required | 타깃 그룹의 번호 목록 - 공백으로 구분하여 여러 개 입력 가능 (예시: `--targetGroupNoList 55667788 55667799`) - [getTargetGroupList](/docs/cli-vloadbalancer-targetgroup-gettargetgrouplist) 참조 | ### 공통 옵션 `vloadbalancer` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Load Balancer 옵션](/docs/cli-vloadbalancer#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 타깃 그룹 삭제 요청이 성공하면 삭제된 타깃 그룹의 구성 정보가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` ./ncloud vloadbalancer deleteTargetGroups \ --targetGroupNoList 55667799 \ --regionCode FKR \ --output json ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "deleteTargetGroupsResponse": { "totalRows": 1, "targetGroupList": [ { "targetGroupNo": "55667799", "targetGroupName": "lb-test-tg2", "targetType": { "code": "VSVR", "codeName": "Server (VPC)" }, "vpcNo": "12345678", "targetGroupProtocolType": { "code": "HTTP", "codeName": "HTTP protocol" }, "targetGroupPort": 80, "targetGroupDescription": "Test target group", "useStickySession": false, "useProxyProtocol": false, "algorithmType": { "code": "RR", "codeName": "Round Robin" }, "createDate": "2026-08-13T11:38:24+0900", "regionCode": "FKR", "loadBalancerInstanceNo": "", "healthCheckProtocolType": { "code": "HTTP", "codeName": "HTTP protocol" }, "healthCheckPort": 80, "healthCheckUrlPath": "/", "healthCheckHttpMethodType": { "code": "GET", "codeName": "HTTP GET Method" }, "healthCheckCycle": 30, "healthCheckUpThreshold": 2, "healthCheckDownThreshold": 2, "targetNoList": [] } ], "requestId": "9f1f3c47-2b84-4825-8517-a90535243ebb", "returnCode": "0", "returnMessage": "success" } } ```