IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

xpack.ml.deleteDatafeed

edit
client.xpack.ml.deleteDatafeed({
  datafeed_id: string,
  force: boolean
})

Reference

datafeed_id or datafeedId

string - The ID of the datafeed to delete

force

boolean - True if the datafeed should be forcefully deleted