Delete Snapshot- DELETE /modelsnapshots/<jobId>/<snapshotId>

Deletes a specified snapshot.

Important

Deleting the active model snapshot, i.e. the snapshot with the highest restorePriority, is not allowed. To delete this snapshot, first revert to a different one.

Example

Delete a saved snapshot with snapshot ID 1234567890 for job kpi_measure

curl -X DELETE 'http://localhost:8080/engine/v2/modelsnapshots/kpi_measure/1234567890'

Returns

Status code 200 upon successful snapshot deletion.

If successful the API acknowledges the deletion:

{ "acknowledged" : true }

Errors

See the Error Codes documentation for the full list of errors that may be returned by the API.