---
title: Update
url: https://docs.vultr.com/reference/vultr-cli/vpc/nat-gateway/update
description: Update the configuration of a NAT gateway in a Vultr VPC with the Vultr CLI, such as its label. Includes usage syntax, available flags, and an example.
publish_date: 2026-09-30T20:25:59.821123Z
last_updated: 2026-09-30T20:38:48.375384Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

Updates the configuration of an existing NAT gateway within a specified VPC, allowing you to modify settings such as its name or other configurable attributes.

## Usage

```console
$ vultr-cli vpc nat-gateway update <VPC ID> <NAT Gateway ID> [flags]
```

## Examples

```console
# Full example
$ vultr-cli vpc nat-gateway update e3512e83-64e9-4d3e-a401-9b86f2e09b1d efc811e7-d07d-45b1-b50e-19a0c2936ce0 \
--tag="example updated tag"

# Shortned example with aliases
$ vultr-cli vpc ng u e3512e83-64e9-4d3e-a401-9b86f2e09b1d efc811e7-d07d-45b1-b50e-19a0c2936ce0 \
-t="example updated tag"
```

## Flags
| Shorthand | Long Version | Description |
|-----------|--------------|-------------|
| -l | --label | label for the NAT Gateway subnscription |
| -t | --tag | tag for the NAT Gateway subnscription |