OpenSearch/docs/java-rest/high-level/dataframe/delete_data_frame.asciidoc

32 lines
1011 B
Plaintext

--
:api: delete-data-frame-transform
:request: DeleteDataFrameTransformRequest
:response: AcknowledgedResponse
--
[role="xpack"]
[id="{upid}-{api}"]
=== Delete {dataframe-transform} API
Deletes an existing {dataframe-transform}.
[id="{upid}-{api}-request"]
==== Delete {dataframe-transform} request
A +{request}+ object requires a non-null `id`.
["source","java",subs="attributes,callouts,macros"]
---------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request]
---------------------------------------------------
<1> Constructing a new request referencing an existing {dataframe-transform}
<2> Sets the optional argument `force`. When `true`, the {dataframe-transform}
is deleted regardless of its current state. The default value is `false`,
meaning that only `stopped` {dataframe-transforms} can be deleted.
include::../execution.asciidoc[]
[id="{upid}-{api}-response"]
==== Response
The returned +{response}+ object acknowledges the Data Frame Transform deletion.