Delete an IPv4 address

Deletes a public or private IPv4 address assigned to this Linode. Consider these points before deleting an IPv4 address:

  • A delete will fail if the target address is the Linode's last remaining public IPv4 address, or if the address has a 1:1 NAT with an active VPC subnet address.

  • You can't use this operation to delete an IPv4 address assigned to a Linode interface. Run the update the Linode interface operation instead.

  • You can't delete an IPv4 address from a Linode that has a cannot_delete_with_subresources resource lock set for it.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: update_linode
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: linodes:read_write

CLI

linode-cli linodes ip-delete 97.107.143.141

Learn more

Path Params
string
enum
required

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

Allowed:
integer
required

The ID of the Linode.

string
required

The IP address.

Responses

Language
Credentials
Response
Choose an example:
application/json