Moving an Endpoint

Move a custom model in OCI Generative AI from its current compartment into a different compartment.

    1. On the Endpoints list page, find the endpoint that you want to work with. If you need help finding the list page or the endpoint, see Listing Endpoints.
    2. To view the endpoints in a different compartment, use the Compartment filter to switch compartments.
      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.
    3. From the Actions menu (three dots) for the endpoint that you want to move, select Move resource.
    4. In the Move resource panel, select the destination compartment from the list.
    5. Select Move resource.
  • Use the endpoint change-compartment command and required parameters to change an endpoint's compartment:

    oci generative-ai endpoint change-compartment 
    --endpoint-id <endpoint-OCID> 
    --compartment-id <destination-compartment-OCID>

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ChangeEndpointCompartment operation to change an endpoint's compartment.