Remove a NAT Gateway IP address

Beta Removes a specific public IPv4 address from an existing NAT Gateway and returns it to your account's unassigned pool.

  • The NAT Gateway must exist and can't have autoscaling enabled.
  • The specified public IP address must be assigned to the targeted NAT Gateway.
  • The address must be unused, and in_use must be false. If any active network interfaces are still routed through this address, the delete request fails.

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 address-remove \
  --id 123 \
  --address 203.0.113.44

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.

string
required

A public IPv4 NAT Gateway address.

Responses

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