Method: Elasticsearch::API::License::Actions#delete
- Defined in:
- lib/elasticsearch/api/actions/license/delete.rb
#delete(arguments = {}) ⇒ Object
Deletes licensing information for the cluster
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/elasticsearch/api/actions/license/delete.rb', line 33 def delete(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'license.delete' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_DELETE path = '_license' params = Utils.process_params(arguments) Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) ) end |