IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete transform API
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete transform API
editDeletes an existing transform.
Request
editDELETE _transform/<transform_id>
Prerequisites
edit- Before you can delete the transform, you must stop it.
If the Elasticsearch security features are enabled, you must have the following privileges:
-
manage_transform
The built-in transform_admin
role has this privilege.
For more information, see Security privileges and Built-in roles.
Path parameters
edit-
<transform_id>
- (Required, string) Identifier for the transform. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.
Query parameters
edit-
force
-
(Optional, Boolean) When
true
, the transform is deleted regardless of its current state. The default value isfalse
, meaning that the transform must bestopped
before it can be deleted.
Examples
editDELETE _transform/ecommerce_transform
When the transform is deleted, you receive the following results:
{ "acknowledged" : true }