---
title: "deleteNatGatewayInstance"
slug: "cli-vpc-natgateway-deletenatgatewayinstance"
tags: ["NAT Gateway", "VPC"]
updated: 2026-04-23T08:57:14Z
published: 2026-04-23T08:59:03Z
canonical: "cli.ncloud-docs.com/cli-vpc-natgateway-deletenatgatewayinstance"
---

> ## 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.

# deleteNatGatewayInstance

<p class="platform-info type-vpc">VPC 환경에서 이용 가능합니다.</p>

## 개요<a name="개요"></a>

NAT Gateway 인스턴스를 삭제합니다.

## 요청<a name="요청"></a>

### 요청 파라미터<a name="요청파라미터"></a>

| 파라미터명                            | 필수 여부      | 타입                   | 제약 사항                   | 설명                                         |
| ---------------------------------- | ------------ | --------------------- | ------------------------- | ------------------------------------------- |
| regionCode                         | No           | String                |                           |  리전 코드<ul><li>삭제할 NAT Gateway 인스턴스의 리전(Region) 결정 가능</li><li>regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능</li><li>Default : getRegionList 조회 결과의 첫 번째 리전을 선택 </li></ul>  |
| natGatewayInstanceNo               | Yes          | String                |                           | 삭제할 NAT Gateway 인스턴스 번호<ul><li>natGatewayInstanceNo는 [getNatGatewayInstanceList](/docs/cli-vpc-natgateway-getnatgatewayinstancelist) 액션을 통해 획득 가능</li></ul>    |
| returnPublicIpInstance | No | Boolean |       |  NAT Gateway 상품의 Public NAT Gateway 에 할당된 Public IP Instance 를 함께 반납<ul><li>Default: true</li></ul>                                      |
| responseFormatType                 | No           | String                |                           |  응답 결과의 포맷 타입<ul><li>Options : xml \| json</li><li>Default : xml</li></ul> |

## 응답<a name="응답"></a>

### 응답 데이터 타입<a name="응답데이터타입"></a>

| NatGatewayInstanceList extends CommonResponse |
| ---------- |
| private Integer totalRows; |
| private List\<NatGatewayInstance\> natGatewayInstanceList|

| NatGatewayInstance |
| ---------- |
| private String vpcNo; |
| private String vpcName; |
| private String natGatewayInstanceNo; |
| private String natGatewayName; |
| private String publicIp; |
| private CommonCode natGatewayInstanceStatus; |
| private String natGatewayInstanceStatusName; |
| private CommonCode natGatewayInstanceOperation; |
| private Date createDate; |
| private String natGatewayDescription; |
| private String zoneCode; |
| private CommonCode natGatewayType; |
| private String subnetName; |
| private String subnetNo; |
| private String privateIp; |
| private String publicIpInstanceNo; |
| private List\<NatGatewayIp\> natGatewayIpList; |

| NatGatewayIp |
| ---------- |
| private String type; |
| private String privateIp; |
| private String publicIp; |
| private String publicIpInstanceNo; |


## 예시<a name="예시"></a>

### 요청 예시<a name="요청예시"></a>

```
ncloud vpc deleteNatGatewayInstance --regionCode KR --natGatewayInstanceNo ***9734
```

### 응답 예시<a name="응답예시"></a>

```xml
<deleteNatGatewayInstanceResponse>
  <requestId>bce9e911-5989-4285-8596-8d08966c7181</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <natGatewayInstanceList>
    <natGatewayInstance>
      <vpcNo>***36</vpcNo>
      <vpcName>normal-***</vpcName>
      <natGatewayInstanceNo>*****0811</natGatewayInstanceNo>
      <natGatewayName>ng19****</natGatewayName>
      <publicIp>***.***.153.33</publicIp>
      <natGatewayInstanceStatus>
        <code>RUN</code>
        <codeName>RUN 상태</codeName>
      </natGatewayInstanceStatus>
      <natGatewayInstanceStatusName>Terminating</natGatewayInstanceStatusName>
      <natGatewayInstanceOperation>
        <code>TERMT</code>
        <codeName>TERMINATE OP</codeName>
      </natGatewayInstanceOperation>
      <createDate>2025-05-08T18:38:25+0900</createDate>
      <natGatewayDescription></natGatewayDescription>
      <zoneCode>KR-1</zoneCode>
      <natGatewayType>
        <code>PBLIP</code>
        <codeName>공인</codeName>
      </natGatewayType>
      <subnetName>public-***</subnetName>
      <subnetNo>***29</subnetNo>
      <privateIp>10.0.1.8</privateIp>
      <publicIpInstanceNo>***810</publicIpInstanceNo>
      <natGatewayIpList>
        <natGatewayIp>
          <type>PRIMARY</type>
          <privateIp>10.0.1.8</privateIp>
          <publicIp>***.***.153.33</publicIp>
          <publicIpInstanceNo>***810</publicIpInstanceNo>
        </natGatewayIp>
      </natGatewayIpList>
    </natGatewayInstance>
  </natGatewayInstanceList>
</deleteNatGatewayInstanceResponse>
```
