原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/delete-transform.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/delete-transform.html
本地英文版地址: ../en/delete-transform.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Delete transform APIedit
Deletes an existing transform.
Requestedit
DELETE _transform/<transform_id>
Prerequisitesedit
- 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 parametersedit
-
<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 parametersedit
-
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.
Examplesedit
DELETE _transform/ecommerce_transform
When the transform is deleted, you receive the following results:
{ "acknowledged" : true }