Skip to content

Commit 72f8124

Browse files
committed
[API] Adds with_profile_uid boolean parameter to security.query_user
1 parent 5736474 commit 72f8124

File tree

1 file changed

+2
-1
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/security

1 file changed

+2
-1
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/security/query_user.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module Security
2424
module Actions
2525
# Retrieves information for Users using a subset of query DSL
2626
#
27+
# @option arguments [Boolean] :with_profile_uid flag to retrieve profile uid (if exists) associated with the user
2728
# @option arguments [Hash] :headers Custom HTTP headers
2829
# @option arguments [Hash] :body From, size, query, sort and search_after
2930
#
@@ -44,7 +45,7 @@ def query_user(arguments = {})
4445
end
4546

4647
path = '_security/_query/user'
47-
params = {}
48+
params = Utils.process_params(arguments)
4849

4950
Elasticsearch::API::Response.new(
5051
perform_request(method, path, params, body, headers, request_opts)

0 commit comments

Comments
 (0)