Stop a trained model deployment
- POST /_ml/trained_models/{model_id}/deployment/_stop
Required authorization
- Cluster privileges manage_ml
Query parameters
-
allow_no_matchboolean · default: true -
Specifies what to do when the request: contains wildcard expressions and there are no deployments that match; contains the
_allstring or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches. Iffalse, the request returns a 404 status code when there are no matches or only partial matches.
Request body
-
allow_no_matchboolean · default: true -
Specifies what to do when the request: contains wildcard expressions and there are no deployments that match; contains the
_allstring or no identifiers and there are no matches; or contains wildcard expressions and there are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches. Iffalse, the request returns a 404 status code when there are no matches or only partial matches.