Moving a Private Endpoint

Move a Resource Manager private endpoint to another compartment.

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