Reset an anomaly detection job
- POST /_ml/anomaly_detectors/{job_id}/_reset
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
Path Parameters
-
job_idstring Idrequired -
The ID of the job to reset.
Query Parameters
-
wait_for_completionboolean · default: true Should this request wait until the operation has completed before returning.
-
delete_user_annotationsboolean · 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.
Response
application/json
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.