Delete a NAT Gateway

Beta Deletes a specified NAT Gateway from your account.

The NAT Gateway must not be attached to any active VPC subnets. If it's currently handling traffic or attached, the deletion request fails.

  • Upon deletion, any manually assigned, pre-reserved public IPv4 addresses are automatically detached but remain reserved in your account pool, generating a reserved_ip_unassign action.
  • Any automatically scaled public IP addresses are permanently released back to the platform.

Permissions and scopes

To call this operation, you need the following:

  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: natgateways:read_write

CLI

linode-cli natgateways delete 123

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

ID of the NAT Gateway to access.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json