62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
[role="xpack"]
|
|
[testenv="basic"]
|
|
[[delete-transform]]
|
|
=== Delete {transforms} API
|
|
|
|
[subs="attributes"]
|
|
++++
|
|
<titleabbrev>Delete {transforms}</titleabbrev>
|
|
++++
|
|
|
|
Deletes an existing {transform}.
|
|
|
|
beta[]
|
|
|
|
[[delete-transform-request]]
|
|
==== {api-request-title}
|
|
|
|
`DELETE _data_frame/transforms/<transform_id>`
|
|
|
|
[[delete-transform-prereqs]]
|
|
==== {api-prereq-title}
|
|
|
|
* Before you can delete the {transform}, you must stop it.
|
|
* 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].
|
|
|
|
|
|
[[delete-transform-path-parms]]
|
|
==== {api-path-parms-title}
|
|
|
|
`<transform_id>`::
|
|
(Required, string) Identifier for the {transform}.
|
|
|
|
[[delete-transform-query-parms]]
|
|
==== {api-query-parms-title}
|
|
|
|
`force`::
|
|
(Optional, boolean) When `true`, the {transform} is deleted regardless of its
|
|
current state. The default value is `false`, meaning that the {transform} must be
|
|
`stopped` before it can be deleted.
|
|
|
|
[[delete-transform-examples]]
|
|
==== {api-examples-title}
|
|
|
|
[source,console]
|
|
--------------------------------------------------
|
|
DELETE _data_frame/transforms/ecommerce_transform
|
|
--------------------------------------------------
|
|
// TEST[skip:setup kibana sample data]
|
|
|
|
When the {transform} is deleted, you receive the following results:
|
|
|
|
[source,console-result]
|
|
----
|
|
{
|
|
"acknowledged" : true
|
|
}
|
|
----
|