Deleting a Public IP Address
On Compute Cloud@Customer, in certain circumstances, you can delete public IP addresses.
An ephemeral public IP address object can't be unassigned and can't be directly deleted. An ephemeral public IP address object is deleted in the following cases:
-
Its private IP address object is deleted.
-
Its VNIC is detached or deleted.
-
Its instance is deleted.
A reserved public IP address object is unassigned but remains available for reassignment when its private IP address object is deleted, its VNIC is detached or deleted, or its instance is deleted.
Use the procedures in this section to delete a reserved public IP address object.
This task isn't available in the Console.
Use the oci network private-ip delete command and required parameters to unassign and delete the specified public IP.
oci network public-ip delete [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the DeletePublicIp operation to unassign and delete the specified public IP.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.