Method: OpenSearch::API::Actions#close_point_in_time
- Defined in:
- lib/opensearch/api/actions/close_point_in_time.rb
#close_point_in_time(arguments = {}) ⇒ Object
Close a point in time
36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/opensearch/api/actions/close_point_in_time.rb', line 36 def close_point_in_time(arguments = {}) headers = arguments.delete(:headers) || {} arguments = arguments.clone method = OpenSearch::API::HTTP_DELETE path = "_pit" params = {} body = arguments[:body] perform_request(method, path, params, body, headers).body end |