Deleting a model or a specific model version means removing all links between the Model entity and artifacts + pipeline runs, and will also delete all metadata associated with that Model.
Deleting all versions of a model
zenmlmodeldelete<MODEL_NAME>
from zenml.client import ClientClient().delete_model(<MODEL_NAME>)
Delete a specific version of a model
zenmlmodelversiondelete<MODEL_VERSION_NAME>
from zenml.client import ClientClient().delete_model_version(<MODEL_VERSION_ID>)