elasticsearch-api/lib/elasticsearch/api/actions/security/clear_api_key_cache.rb
def clear_api_key_cache(arguments = {})
          raise ArgumentError, "Required argument 'ids' missing" unless arguments[:ids]

          headers = arguments.delete(:headers) || {}

          body = nil

          arguments = arguments.clone

          _ids = arguments.delete(:ids)

          method = Elasticsearch::API::HTTP_POST
          path   = "_security/api_key/#{Utils.__listify(_ids)}/_clear_cache"
          params = {}

          perform_request(method, path, params, body, headers).body
        end
# Clear a subset or all entries from the API key cache.
#
# @option arguments [List] :ids A comma-separated list of IDs of API keys to clear from the cache
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-api-key-cache.html
#
Clear a subset or all entries from the API key cache.
Clear a subset or all entries from the API key cache .
def clear_api_key_cache(arguments = {})
          raise ArgumentError, "Required argument 'ids' missing" unless arguments[:ids]
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _ids = arguments.delete(:ids)
          method = Elasticsearch::API::HTTP_POST
          path   = "_security/api_key/#{Utils.__listify(_ids)}/_clear_cache"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def clear_api_key_cache ( arguments = { } ) raise ArgumentError , "Required argument 'ids' missing" unless arguments [ :ids ] headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _ids = arguments . delete ( :ids ) method = Elasticsearch :: API :: HTTP_POST path = "_security/api_key/#{Utils.__listify(_ids)}/_clear_cache" params = { } perform_request ( method , path , params , body , headers ) . body end
Clear a subset or all entries from the API key cache.
Clear a subset or all entries from the API key cache .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None