4
4
:response: AcknowledgedResponse
5
5
--
6
6
[id="{upid} -{api} "]
7
- === Delete Job API
7
+ === Delete {anomaly-job} API
8
+
9
+ Deletes an {anomaly-job} that exists in the cluster.
8
10
9
11
[id="{upid}-{api}-request"]
10
- ==== Delete Job Request
12
+ ==== Delete {anomaly-job} request
11
13
12
14
A +{request}+ object requires a non-null `jobId` and can optionally set `force`.
13
15
@@ -17,7 +19,7 @@ include-tagged::{doc-tests-file}[{api}-request]
17
19
---------------------------------------------------
18
20
<1> Constructing a new request referencing an existing `jobId`
19
21
20
- ==== Optional Arguments
22
+ ==== Optional arguments
21
23
22
24
The following arguments are optional:
23
25
@@ -33,21 +35,24 @@ Defaults to `false`.
33
35
---------------------------------------------------
34
36
include-tagged::{doc-tests-file}[{api}-request-wait-for-completion]
35
37
---------------------------------------------------
36
- <1> Use to set whether the request should wait until the operation has completed before returning.
37
- Defaults to `true`.
38
+ <1> Use to set whether the request should wait until the operation has completed
39
+ before returning. Defaults to `true`.
38
40
39
41
40
42
[id="{upid}-{api}-response"]
41
- ==== Delete Job Response
43
+ ==== Delete {anomaly-job} response
42
44
43
- The returned +{response}+ object indicates the acknowledgement of the job deletion or
44
- the deletion task depending on whether the request was set to wait for completion:
45
+ The returned +{response}+ object indicates the acknowledgement of the job
46
+ deletion or the deletion task depending on whether the request was set to wait
47
+ for completion:
45
48
46
49
["source","java",subs="attributes,callouts,macros"]
47
50
---------------------------------------------------
48
51
include-tagged::{doc-tests-file}[{api}-response]
49
52
---------------------------------------------------
50
- <1> whether was job deletion was acknowledged or not; will be `null` when set not to wait for completion
51
- <2> the id of the job deletion task; will be `null` when set to wait for completion
53
+ <1> whether was job deletion was acknowledged or not; will be `null` when set
54
+ not to wait for completion
55
+ <2> the id of the job deletion task; will be `null` when set to wait for
56
+ completion
52
57
53
58
include::../execution.asciidoc[]
0 commit comments