Deleting a Custom Model

Delete a custom model in OCI Generative AI.

    1. On the Custom models list page, find the custom model that you want to delete. If you need help finding the list page or the custom model, see Listing Custom Models.
    2. To view the custom models 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 custom model that you want to delete, select Delete.
    4. When prompted, confirm the deletion.
  • Use the model delete command and required parameters to delete a custom model:

    oci generative-ai model delete 
    --model-id <custom-model-OCID>

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

  • Run the DeleteModel operation to delete a custom model.