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