# 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` ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters #### Path parameters - **job_id** (string) Identifier for the anomaly detection job. - **snapshot_id** (string) Identifier for the model snapshot. ## Body parameters Content-type: application/json - **description** (string) A description of the model snapshot. - **retain** (boolean) 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. ## Responses ### 200: #### Body Parameters: application/json (object) - **acknowledged** (boolean) - **model** (object) [Powered by Bump.sh](https://bump.sh)