Update a snapshot
- POST /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update
Updates certain properties of a snapshot.
Required authorization
- Cluster privileges manage_ml
Response
application/json
-
modelobjectrequired -
job_idstringrequired -
A numerical character string that uniquely identifies the job that the snapshot was created for.
-
retainbooleanrequired -
If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.