Delete forecasts from a job

  • DELETE /_ml/anomaly_detectors/{job_id}/_forecast/{forecast_id}
  • DELETE /_ml/anomaly_detectors/{job_id}/_forecast

By default, forecasts are retained for 14 days. You can specify a different retention period with the expires_in parameter in the forecast jobs API. The delete forecast API enables you to delete one or more forecasts before they expire.

  • Cluster privileges: manage_ml

Response