Delete an unreferenced trained model
Generally available; Added in 7.10.0
The request deletes a trained inference model that is not referenced by an ingest pipeline.
Required authorization
- Cluster privileges:
manage_ml
Path parameters
-
model_id
string Required The unique identifier of the trained model.
DELETE
/_ml/trained_models/{model_id}
Console
DELETE _ml/trained_models/regression-job-one-1574775307356
curl \
--request DELETE 'http://api.example.com/_ml/trained_models/{model_id}' \
--header "Authorization: $API_KEY"
Response examples (200)
A successful response when deleting an existing trained inference model.
{
"acknowledged": true
}