Deletes forecasts from a machine learning job.
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.
When you delete a job its associated forecasts are deleted.
For more information, see Forecasting the future.
- (string) Identifier for the job.
(string) A comma-separated list of forecast identifiers.
If you do not specify this optional parameter or if you specify
_all, the API deletes all forecasts from the job.
(boolean) Specifies whether an error occurs when there are no forecasts. In
particular, if this parameter is set to
falseand there are no forecasts associated with the job, attempts to delete all forecasts return an error. The default value is
(time units) Specifies the period of time to wait for the completion of the
delete operation. When this period of time elapses, the API fails and returns
an error. The default value is
30s. For more information about time units, see Time units.
You must have
manage cluster privileges to use this API.
For more information, see Security privileges.