2019-06-25 13:29:11 -04:00
|
|
|
--
|
|
|
|
:api: delete-data-frame-analytics
|
|
|
|
:request: DeleteDataFrameAnalyticsRequest
|
|
|
|
:response: AcknowledgedResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2019-06-25 13:29:11 -04:00
|
|
|
[id="{upid}-{api}"]
|
2019-09-16 13:00:44 -04:00
|
|
|
=== Delete {dfanalytics-jobs} API
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
Delete an existing {dfanalytics-job}.
|
2019-06-25 13:29:11 -04:00
|
|
|
The API accepts a +{request}+ object as a request and returns a +{response}+.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-09-16 13:00:44 -04:00
|
|
|
==== Delete {dfanalytics-jobs} request
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
A +{request}+ object requires a {dfanalytics-job} ID.
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
---------------------------------------------------
|
2019-09-16 13:00:44 -04:00
|
|
|
<1> Constructing a new request referencing an existing {dfanalytics-job}.
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2020-01-03 06:46:02 -05:00
|
|
|
==== Optional arguments
|
|
|
|
|
|
|
|
The following arguments are optional:
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
2020-06-05 10:50:01 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request-options]
|
2020-01-03 06:46:02 -05:00
|
|
|
---------------------------------------------------
|
|
|
|
<1> Use to forcefully delete a job that is not stopped. This method is quicker than stopping
|
|
|
|
and deleting the job. Defaults to `false`.
|
2020-06-05 10:50:01 -04:00
|
|
|
<2> Use to set the time to wait until the job is deleted. Defaults to 1 minute.
|
2020-01-03 06:46:02 -05:00
|
|
|
|
2019-06-25 13:29:11 -04:00
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Response
|
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
The returned +{response}+ object acknowledges the {dfanalytics-job} deletion.
|