Reset an anomaly detection job
POST
/_ml/anomaly_detectors/{job_id} /_reset
Auth
All model state and results are deleted. The job is ready to start over as if
it had just been created.
It is not currently possible to reset multiple jobs using wildcards or a
comma separated list.
Cluster privileges
manage_ml
Expand all
job_id
string
required
The ID of the job to reset.
wait_for_completion
boolean · default: true
Should this request wait until the operation has completed before
returning.
delete_user_annotations
boolean · default: false
Specifies whether annotations that have been added by the
user should be deleted along with any auto-generated annotations when the job is
reset.
200
application/json
acknowledged
boolean
required
For a successful response, this value is always true. On failure, an exception is returned instead.