{
  "ml.stop_trained_model_deployment": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-stop-trained-model-deployment",
      "description": "Stop a trained model deployment"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_ml/trained_models/{model_id}/deployment/_stop",
          "methods": [
            "POST"
          ],
          "parts": {
            "model_id": {
              "type": "string",
              "description": "The unique identifier of the trained model."
            }
          }
        }
      ]
    },
    "params": {
      "allow_no_match": {
        "type": "boolean",
        "default": true,
        "description": "Whether to ignore if a wildcard expression matches no deployments. (This includes `_all` string or when no deployments have been specified)"
      },
      "force": {
        "type": "boolean",
        "default": false,
        "description": "True if the deployment should be forcefully stopped"
      }
    },
    "body": {
      "description": "The stop deployment parameters",
      "required": false
    }
  }
}
