For the complete documentation index, see llms.txt. This page is also available as Markdown.

delete

Delete a NAT Gateway

Usage

ionosctl compute natgateway delete [flags]

Aliases

For natgateway command:

[nat ng]

For delete command:

[d]

Description

Use this command to delete a specified NAT Gateway from a Virtual Data Center. Deleting the gateway removes its LAN attachments, SNAT rules and flowlogs with it; the servers that relied on it lose their outbound internet access. The public IPs remain reserved to your account and are freed for reuse.

Pass --all to delete every NAT Gateway in the datacenter. You can force the command to execute without user input using --force option.

Required values to run command:

  • Data Center Id

  • NAT Gateway Id

Options

Examples

Last updated

Was this helpful?