xpack.ml.stopDatafeededit

client.xpack.ml.stopDatafeed({
  datafeed_id: string,
  allow_no_datafeeds: boolean,
  force: boolean,
  timeout: string
})

Reference

datafeed_id or datafeedId

string - The ID of the datafeed to stop

allow_no_datafeeds or allowNoDatafeeds

boolean - Whether to ignore if a wildcard expression matches no datafeeds. (This includes _all string or when no datafeeds have been specified)

force

boolean - True if the datafeed should be forcefully stopped.

timeout

string - Controls the time to wait until a datafeed has stopped. Default to 20 seconds