---
title: Delete
url: https://docs.vultr.com/products/network/vpc-networks/nat-gateway/management/delete
description: Learn how to delete a NAT Gateway subscription from a Vultr VPC via API, CLI and Terraform.
publish_date: 2025-08-20T15:14:25.129739Z
last_updated: 2026-05-26T20:01:58.427964Z
---

# How to Delete a NAT Gateway Subscription

Remove a NAT Gateway subscription from a VPC when it is no longer required. Deletion immediately decommissions the gateway and stops billing for that subscription. Ensure no workloads depend on its egress or port forwarding rules before proceeding.

Follow this guide to delete a NAT Gateway subscription using the Vultr API, CLI, or Terraform.

=== "Vultr API"

    1. Send a `GET` request to the [**List VPCs** endpoint](https://www.vultr.com/api/#tag/VPCs/operation/list-vpcs) and note the target VPC ID.

        ```console
        $ curl "https://api.vultr.com/v2/vpcs" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

    1. Send a `GET` request to the **Get NAT Gateway subscription** endpoint specifying the VPC ID, and note the NAT Gateway ID from the output.

        ```console
        $ curl "https://api.vultr.com/v2/vpcs/{vpc-id}/nat-gateway" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

    1. Send a `DELETE` request to the **Delete NAT Gateway subscription** endpoint specifying the VPC ID and NAT Gateway ID.

        ```console
        $ curl "https://api.vultr.com/v2/vpcs/{vpc-id}/nat-gateway/{nat-gateway-id}" \
            -X DELETE \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

=== "Vultr CLI"

    1. List all VPCs in your account to retrieve the VPC ID.

        ```console
        $ vultr-cli vpc list
        ```

    1. List NAT Gateway subscriptions for the VPC to retrieve the NAT Gateway ID.

        ```console
        $ vultr-cli vpc nat-gateway list <VPC_ID>
        ```

    1. Delete the NAT Gateway subscription.

        ```console
        $ vultr-cli vpc nat-gateway delete <VPC_ID> <NAT_GATEWAY_ID>
        ```

        The NAT Gateway is deleted immediately and billing stops.

=== "Terraform"

    1. Remove the `vultr_nat_gateway` resource block from your Terraform configuration file.

    1. Apply the configuration to delete the resource:

        ```console
        $ terraform apply
        ```

        Terraform detects the removed resource and deletes the NAT Gateway subscription.

    1. Alternatively, destroy a specific resource using the `-target` flag:

        ```console
        $ terraform destroy -target=vultr_nat_gateway.my_nat
        ```
