elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/delete_auto_follow_pattern.rb
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
# Deletes auto-follow patterns.
#
# @option arguments [String] :name The name of the auto follow pattern.
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html
#
Deletes auto-follow patterns.
Deletes auto - follow patterns .
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
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
Deletes auto-follow patterns.
Deletes auto - follow patterns .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None