Deleting a Model

Delete a model in Anomaly Detection. You can delete a model only if it's not attached to another resource. It can't be used after it's deleted.

If you try to delete a model that's still attached to a resource, you get a warning that the model can't be deleted.

    1. Open the navigation menu and click Analytics & AI. Under AI Services, click Anomaly Detection.
    2. In the left-side navigation menu, click Projects.
    3. Select the compartment that contains the project with the models that you want to view.
    4. Click the name of the project.

      The project details page opens.

    5. Under Details, click Models.

      The models in the project are displayed in the Anomaly detection models table.

    6. Click the name of the model to delete.
    7. On the model's details page, click Delete.
    8. Enter the name of the model exactly as it appears, and then click Delete.
    A notification is displayed indicating that the model is deleted successfully.
  • Use the oci anomaly-detection model delete command and required parameters to delete a model:

    oci anomaly-detection model delete --model-id <model-id>... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Use the DeleteModel operation to delete the model.