Skip to main content
DELETE
DELETE /v1/mlmodels/{id}

Delete an ML Model

Delete an ML model by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.

Delete by ID

id
string
required
UUID of the ML model to delete.
recursive
boolean
default:"false"
Recursively delete child entities.
hardDelete
boolean
default:"false"
Permanently delete the ML model. If false, the ML model is soft-deleted and can be restored.

Delete by Name

Use DELETE /v1/mlmodels/name/{fqn} to delete by fully qualified name.
fqn
string
required
Fully qualified name of the ML model (e.g., mlflow_svc.customer_segmentation).
recursive
boolean
default:"false"
Recursively delete child entities.
hardDelete
boolean
default:"false"
Permanently delete the ML model.

Restore a Soft-Deleted ML Model

Use PUT /v1/mlmodels/restore to restore a soft-deleted ML model.
id
string
required
UUID of the soft-deleted ML model to restore.
DELETE /v1/mlmodels/{id}

Returns

Soft delete returns the ML model object with deleted: true. Hard delete returns no content (204). Restore returns the restored ML model object.

Error Handling