44:response: AcknowledgedResponse
55--
66[id="{upid} -{api} "]
7- === Delete Job API
7+ === Delete {anomaly-job} API
8+
9+ Deletes an {anomaly-job} that exists in the cluster.
810
911[id="{upid}-{api}-request"]
10- ==== Delete Job Request
12+ ==== Delete {anomaly-job} request
1113
1214A +{request}+ object requires a non-null `jobId` and can optionally set `force`.
1315
@@ -17,7 +19,7 @@ include-tagged::{doc-tests-file}[{api}-request]
1719---------------------------------------------------
1820<1> Constructing a new request referencing an existing `jobId`
1921
20- ==== Optional Arguments
22+ ==== Optional arguments
2123
2224The following arguments are optional:
2325
@@ -33,21 +35,24 @@ Defaults to `false`.
3335---------------------------------------------------
3436include-tagged::{doc-tests-file}[{api}-request-wait-for-completion]
3537---------------------------------------------------
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`.
3840
3941
4042[id="{upid}-{api}-response"]
41- ==== Delete Job Response
43+ ==== Delete {anomaly-job} response
4244
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:
4548
4649["source","java",subs="attributes,callouts,macros"]
4750---------------------------------------------------
4851include-tagged::{doc-tests-file}[{api}-response]
4952---------------------------------------------------
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
5257
5358include::../execution.asciidoc[]
0 commit comments