Skip to content

Commit 2dcc2b8

Browse files
committed
[API] Adds delete_dest_index (Boolean) to transform.delete_transform
When `true`, the destination index is deleted together with the transform. The default value is `false`, meaning that the destination index will not be deleted.
1 parent b7cb053 commit 2dcc2b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/transform/delete_transform.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module Actions
2626
#
2727
# @option arguments [String] :transform_id The id of the transform to delete
2828
# @option arguments [Boolean] :force 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.
29+
# @option arguments [Boolean] :delete_dest_index When `true`, the destination index is deleted together with the transform. The default value is `false`, meaning that the destination index will not be deleted.
2930
# @option arguments [Time] :timeout Controls the time to wait for the transform deletion
3031
# @option arguments [Hash] :headers Custom HTTP headers
3132
#

0 commit comments

Comments
 (0)