Moving a Private Endpoint
Move a Resource Manager private endpoint to another compartment.
- Open the navigation menu and click Developer Services. Under Resource Manager, click Private Endpoints.
- On the Private endpoints page, select the compartment that contains the private endpoint that you want.
- Click the name of the private endpoint that you want.
- On the Private endpoint details page, click Move resource.
- In the Move resource dialog box, choose the destination compartment from the list.
- Click 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.