[DOCS] Forward-fit example output for DELETE model snapshot API
Original commit: elastic/x-pack-elasticsearch@d847776203
This commit is contained in:
parent
8f1d11df18
commit
10390a5e50
|
@ -33,22 +33,22 @@ first revert to a different one.
|
||||||
412
|
412
|
||||||
(BasicFailedReply) The Elasticsearch cluster has not been shutdown yet (code: clusters.cluster_plan_state_error)
|
(BasicFailedReply) The Elasticsearch cluster has not been shutdown yet (code: clusters.cluster_plan_state_error)
|
||||||
|
|
||||||
|
////
|
||||||
===== Examples
|
===== Examples
|
||||||
|
|
||||||
The following example deletes the `event_rate` job:
|
The following example deletes the `1491948163` snapshot:
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
DELETE _xpack/ml/anomaly_detectors/event_rate
|
DELETE _xpack/ml/anomaly_detectors/farequote/model_snapshots/1491948163
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
// CONSOLE
|
// CONSOLE
|
||||||
// TEST[skip:todo]
|
// 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
|
"acknowledged": true
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
////
|
|
||||||
|
|
Loading…
Reference in New Issue