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
-
model_id
string Required 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 \
--request DELETE http://api.example.com/_ml/trained_models/{model_id} \
--header "Authorization: $API_KEY"
Response examples (200)
{
"acknowledged": true
}