Skip to content

Commit 783a783

Browse files
committed
[API] Adds delete_sync_jobs boolean parameter to connector.delete
Auto-generated API code
1 parent 6f01ee8 commit 783a783

File tree

1 file changed

+2
-1
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/connector

1 file changed

+2
-1
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/connector/delete.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module Actions
2929
# support SLA of official GA features.
3030
#
3131
# @option arguments [String] :connector_id The unique identifier of the connector to be deleted.
32+
# @option arguments [Boolean] :delete_sync_jobs Determines whether associated sync jobs are also deleted.
3233
# @option arguments [Hash] :headers Custom HTTP headers
3334
#
3435
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-connector-api.html
@@ -52,7 +53,7 @@ def delete(arguments = {})
5253

5354
method = Elasticsearch::API::HTTP_DELETE
5455
path = "_connector/#{Utils.__listify(_connector_id)}"
55-
params = {}
56+
params = Utils.process_params(arguments)
5657

5758
Elasticsearch::API::Response.new(
5859
perform_request(method, path, params, body, headers, request_opts)

0 commit comments

Comments
 (0)