Query parameters
-
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. -
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.
Values are
-1or0.External documentation
DELETE
/_ml/anomaly_detectors/{job_id}/_forecast
curl \
--request DELETE 'http://api.example.com/_ml/anomaly_detectors/{job_id}/_forecast'
Response examples (200)
A successful response when deleting a forecast from an anomaly detection job.
{
"acknowledged": true
}