Moving a Reserved Public IP to a Different Compartment
Move a reserved public IP address from one compartment to another. When you move a reserved public IP to a new compartment, inherent policies apply immediately.
Use the network public-ip change-compartmnet command and required parameters to move a public IP to a different compartment:
oci network public-ip change-compartmnet --public-ip-id public_IP_OCID --compartment-id compartment_OCID ... [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangePublicIpCompartment operation to move a reserved public IP address to a different compartment.