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.
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)
A successful response when deleting an existing trained inference model.
{
"acknowledged": true
}