Deleting 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 delete. 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 delete, select Delete.
    4. When prompted, confirm the deletion.
  • Use the endpoint delete command and required parameters to delete an endpoint:

    oci generative-ai endpoint delete 
    --endpoint-id <endpoint-OCID>

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

  • Run the DeleteEndpoint operation to delete an endpoint.