[role="xpack"]
[testenv="basic"]
[[stop-trained-model-deployment]]
= Stop trained model deployment API
[subs="attributes"]
++++
<titleabbrev>Stop trained model deployment</titleabbrev>
++++

[[stop-trained-model-deployment-request]]
== {api-request-title}

`POST _ml/trained_models/<model_id>/deployment/_stop`

////
[[stop-trained-model-deployment-prereq]]
== {api-prereq-title}

////
////
[[stop-trained-model-deployment-desc]]
== {api-description-title}

////
[[stop-trained-model-deployment-path-params]]
== {api-path-parms-title}

`<model_id>`::
(Required, string)
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=model-id]

////
[[stop-trained-model-deployment-query-params]]
== {api-query-parms-title}
////
////
[role="child_attributes"]
[[stop-trained-model-deployment-results]]
== {api-response-body-title}
////
////
[[ml-get-trained-models-response-codes]]
== {api-response-codes-title}
////

////
[[stop-trained-model-deployment-example]]
== {api-examples-title}
////