delete
https://api.linode.com//networking/natgateways/
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_unassignaction. - 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
- Scopes:
CLI
linode-cli natgateways delete 123