Delete an unreferenced trained model Added in 7.10.0
The request deletes a trained inference model that is not referenced by an ingest pipeline.
Path parameters
-
The unique identifier of the trained model.
Query parameters
-
force boolean
Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.
DELETE /_ml/trained_models/{model_id}
curl \
-X DELETE http://api.example.com/_ml/trained_models/{model_id}
Response examples (200)
{
"acknowledged": true
}