stack es ml delete-trained-model cli command
Destructive
Auth required
Idempotent
Scope: global
elastic stack es ml delete-trained-model --model-id <model-id> [options]
Delete an unreferenced trained model.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--model-idstringrequired- The unique identifier of the trained model.
--[no-]force- Forcefully deletes a trained model that is referenced by ingest pipelines or has a started deployment.
--timeoutstring- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON