Search + K

Command Palette

Search for a command to run...

Sign In

Delete a model snapshot

DELETE /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}
Copy endpoint

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.

Required authorization

  • Cluster privileges: manage_ml

Parameters

path Path Parameters

Name Type
job_id required

Identifier for the anomaly detection job.

type TypesId = string
snapshot_id required

Identifier for the model snapshot.

type TypesId = string

Responses

200 application/json
interface TypesAcknowledgedResponseBase {
acknowledged: boolean;
}