elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_index_template.rb
# Deletes an index template.
# This functionality is Experimental and may be changed or removed
# completely in a future release. Elastic will take a best effort approach
# to fix any issues, but experimental features are not subject to the
# support SLA of official GA features.
#
# @option arguments [String] :name The name of the template
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Time] :master_timeout Specify timeout for connection to master
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html
#
Deletes an index template.
This functionality is Experimental and may be changed or removed
completely in a future release. Elastic will take a best effort approach
to fix any issues, but experimental features are not subject to the
support SLA of official GA features.
Deletes an index template . This functionality is Experimental and may be changed or removed completely in a future release . Elastic will take a best effort approach to fix any issues but experimental features are not subject to the support SLA of official GA features .
def delete_index_template(arguments = {})
          raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
          headers = arguments.delete(:headers) || {}
          arguments = arguments.clone
          _name = arguments.delete(:name)
          method = Elasticsearch::API::HTTP_DELETE
          path   = "_index_template/#{Utils.__listify(_name)}"
          params = Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
          body = nil
          perform_request(method, path, params, body, headers).body
        end
def delete_index_template ( arguments = { } ) raise ArgumentError , "Required argument 'name' missing" unless arguments [ :name ] headers = arguments . delete ( :headers ) || { } arguments = arguments . clone _name = arguments . delete ( :name ) method = Elasticsearch :: API :: HTTP_DELETE path = "_index_template/#{Utils.__listify(_name)}" params = Utils . __validate_and_extract_params arguments , ParamsRegistry . get ( __method__ ) body = nil perform_request ( method , path , params , body , headers ) . body end
Deletes an index template.
Deletes an index template .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None