xpack.ml.deleteForecastedit

client.xpack.ml.deleteForecast({
  job_id: string,
  forecast_id: string,
  allow_no_forecasts: boolean,
  timeout: string
})

Reference

job_id or jobId

string - The ID of the job from which to delete forecasts

forecast_id or forecastId

string - The ID of the forecast to delete, can be comma delimited list. Leaving blank implies _all

allow_no_forecasts or allowNoForecasts

boolean - Whether to ignore if _all matches no forecasts

timeout

string - Controls the time to wait until the forecast(s) are deleted. Default to 30 seconds