Method: Elasticsearch::API::CrossClusterReplication::Actions#delete_auto_follow_pattern
- Defined in:
- lib/elasticsearch/api/actions/cross_cluster_replication/delete_auto_follow_pattern.rb
#delete_auto_follow_pattern(arguments = {}) ⇒ Object
Deletes auto-follow patterns.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/elasticsearch/api/actions/cross_cluster_replication/delete_auto_follow_pattern.rb', line 32 def delete_auto_follow_pattern(arguments = {}) raise ArgumentError, "Required argument 'name' missing" unless arguments[:name] arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil _name = arguments.delete(:name) method = Elasticsearch::API::HTTP_DELETE path = "_ccr/auto_follow/#{Utils.__listify(_name)}" params = {} Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers) ) end |