From 10390a5e50baf75ecc9677cc2f45a082528fef8a Mon Sep 17 00:00:00 2001 From: lcawley Date: Thu, 13 Apr 2017 14:32:01 -0700 Subject: [PATCH] [DOCS] Forward-fit example output for DELETE model snapshot API Original commit: elastic/x-pack-elasticsearch@d847776203c09d090b07f10eb779dfaa5b90e0d5 --- docs/en/rest-api/ml/delete-snapshot.asciidoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/rest-api/ml/delete-snapshot.asciidoc b/docs/en/rest-api/ml/delete-snapshot.asciidoc index fd58f481de1..79f6cce84e4 100644 --- a/docs/en/rest-api/ml/delete-snapshot.asciidoc +++ b/docs/en/rest-api/ml/delete-snapshot.asciidoc @@ -33,22 +33,22 @@ first revert to a different one. 412 (BasicFailedReply) The Elasticsearch cluster has not been shutdown yet (code: clusters.cluster_plan_state_error) - +//// ===== Examples -The following example deletes the `event_rate` job: +The following example deletes the `1491948163` snapshot: [source,js] -------------------------------------------------- -DELETE _xpack/ml/anomaly_detectors/event_rate +DELETE _xpack/ml/anomaly_detectors/farequote/model_snapshots/1491948163 -------------------------------------------------- // CONSOLE // TEST[skip:todo] -When the job is deleted, you receive the following results: +When the snapshot is deleted, you receive the following results: + ---- { "acknowledged": true } ---- -////