2019-03-21 12:11:38 -04:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="basic"]
|
|
|
|
[[delete-data-frame-transform]]
|
|
|
|
=== Delete {dataframe-transforms} API
|
2019-04-30 13:46:13 -04:00
|
|
|
|
|
|
|
[subs="attributes"]
|
2019-03-21 12:11:38 -04:00
|
|
|
++++
|
|
|
|
<titleabbrev>Delete {dataframe-transforms}</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
2019-06-12 13:13:04 -04:00
|
|
|
beta[]
|
|
|
|
|
2019-03-21 12:11:38 -04:00
|
|
|
Deletes an existing {dataframe-transform}.
|
|
|
|
|
|
|
|
|
|
|
|
==== Request
|
|
|
|
|
|
|
|
`DELETE _data_frame/transforms/<data_frame_transform_id>`
|
|
|
|
|
2019-06-12 13:13:04 -04:00
|
|
|
==== Description
|
|
|
|
|
|
|
|
NOTE: Before you can delete the {dataframe-transform}, you must stop it.
|
2019-03-21 12:11:38 -04:00
|
|
|
|
|
|
|
==== Path Parameters
|
|
|
|
|
|
|
|
`data_frame_transform_id` (required)::
|
|
|
|
(string) Identifier for the {dataframe-transform}.
|
|
|
|
|
2019-06-12 13:13:04 -04:00
|
|
|
==== Authorization
|
|
|
|
|
|
|
|
If the {es} {security-features} are enabled, you must have
|
|
|
|
`manage_data_frame_transforms` cluster privileges to use this API. The built-in
|
|
|
|
`data_frame_transforms_admin` role has these privileges. For more information,
|
|
|
|
see {stack-ov}/security-privileges.html[Security privileges] and
|
|
|
|
{stack-ov}/built-in-roles.html[Built-in roles].
|
2019-03-21 12:11:38 -04:00
|
|
|
|
|
|
|
==== Examples
|
|
|
|
|
|
|
|
The following example deletes the `ecommerce_transform` {dataframe-transform}:
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
|
|
|
DELETE _data_frame/transforms/ecommerce_transform
|
|
|
|
--------------------------------------------------
|
|
|
|
// CONSOLE
|
|
|
|
// TEST[skip:setup kibana sample data]
|
|
|
|
|
|
|
|
When the {dataframe-transform} is deleted, you receive the following results:
|
|
|
|
[source,js]
|
|
|
|
----
|
|
|
|
{
|
|
|
|
"acknowledged" : true
|
|
|
|
}
|
|
|
|
----
|
|
|
|
// TESTRESPONSE
|