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

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

          body = nil

          arguments = arguments.clone

          _realms = arguments.delete(:realms)

          method = Elasticsearch::API::HTTP_POST
          path   = "_security/realm/#{Utils.__listify(_realms)}/_clear_cache"
          params = Utils.process_params(arguments)

          perform_request(method, path, params, body, headers).body
        end
# Evicts users from the user cache. Can completely clear the cache or evict specific users.
#
# @option arguments [List] :realms Comma-separated list of realms to clear
# @option arguments [List] :usernames Comma-separated list of usernames 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-cache.html
#
Evicts users from the user cache. Can completely clear the cache or evict specific users.
Evicts users from the user cache . Can completely clear the cache or evict specific users .
def clear_cached_realms(arguments = {})
          raise ArgumentError, "Required argument 'realms' missing" unless arguments[:realms]
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _realms = arguments.delete(:realms)
          method = Elasticsearch::API::HTTP_POST
          path   = "_security/realm/#{Utils.__listify(_realms)}/_clear_cache"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def clear_cached_realms ( arguments = { } ) raise ArgumentError , "Required argument 'realms' missing" unless arguments [ :realms ] headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _realms = arguments . delete ( :realms ) method = Elasticsearch :: API :: HTTP_POST path = "_security/realm/#{Utils.__listify(_realms)}/_clear_cache" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Evicts users from the user cache.
Evicts users from the user cache .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None