{
  "ml.stop_datafeed": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-stop-datafeed",
      "description": "Stop datafeeds"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_ml/datafeeds/{datafeed_id}/_stop",
          "methods": [
            "POST"
          ],
          "parts": {
            "datafeed_id": {
              "type": "string",
              "description": "The ID of the datafeed to stop"
            }
          }
        }
      ]
    },
    "params": {
      "allow_no_match": {
        "type": "boolean",
        "default": true,
        "description": "Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)"
      },
      "force": {
        "type": "boolean",
        "default": false,
        "description": "True if the datafeed should be forcefully stopped."
      },
      "close_job": {
        "type": "boolean",
        "default": false,
        "description": "True if the job associated with the datafeed should be closed."
      },
      "timeout": {
        "type": "time",
        "default": "20s",
        "description": "Controls the time to wait until a datafeed has stopped. Default to 20 seconds"
      }
    },
    "body": {
      "description": "The URL params optionally sent in the body",
      "required": false
    }
  }
}
