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.
- On the private endpoint's details page, select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- 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.