Delete a model snapshot
- DELETE /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
You cannot delete the active model snapshot. To delete that snapshot, first
revert to a different one. To identify the active model snapshot, refer to
the model_snapshot_id in the results from the get jobs API.
- Cluster privileges:
manage_ml
Path Parameters
-
job_idstring Idrequired -
Identifier for the anomaly detection job.
-
snapshot_idstring Idrequired -
Identifier for the model snapshot.
Response
application/json
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.