Moving a Private Endpoint
Move a Resource Manager private endpoint to another compartment.
- On the Private endpoints list page, select the private endpoint that you want to work with. If you need help finding the list page or the private endpoint, see Listing Private Endpoints.
- Select Move resource.
- In the Move resource dialog box, select the compartment that you want to move the private endpoint to.
- Select Move resource.
Use the
oci resource-manager private-endpoint change-compartment
command to move a private endpoint to another compartment.oci resource-manager private-endpoint change-compartment --compartment-id <compartment_ocid> --private-endpoint-id <private_endpoint_ocid>
For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.
Use the ChangePrivateEndpointCompartment operation to move a private endpoint to another compartment.