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

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

          body   = arguments.delete(:body)

          _uid = arguments.delete(:uid)

          method = Elasticsearch::API::HTTP_PUT
          path   = "_security/profile/#{Utils.__listify(_uid)}/_data"
          params = Utils.process_params(arguments)

          Elasticsearch::API::Response.new(
            perform_request(method, path, params, body, headers)
          )
        end
# Update application specific data for the user profile of the given unique ID.
# This functionality is Experimental and may be changed or removed
# completely in a future release. Elastic will take a best effort approach
# to fix any issues, but experimental features are not subject to the
# support SLA of official GA features.
#
# @option arguments [String] :uid An unique identifier of the user profile
# @option arguments [Number] :if_seq_no only perform the update operation if the last operation that has changed the document has the specified sequence number
# @option arguments [Number] :if_primary_term only perform the update operation if the last operation that has changed the document has the specified primary term
# @option arguments [String] :refresh If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (options: true, false, wait_for)
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The application data to update (*Required*)
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html
#
Update application specific data for the user profile of the given unique ID.
This functionality is Experimental and may be changed or removed
completely in a future release. Elastic will take a best effort approach
to fix any issues, but experimental features are not subject to the
support SLA of official GA features.
Update application specific data for the user profile of the given unique ID . This functionality is Experimental and may be changed or removed completely in a future release . Elastic will take a best effort approach to fix any issues but experimental features are not subject to the support SLA of official GA features .
def update_user_profile_data(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          raise ArgumentError, "Required argument 'uid' missing" unless arguments[:uid]
          arguments = arguments.clone
          headers = arguments.delete(:headers) || {}
          body   = arguments.delete(:body)
          _uid = arguments.delete(:uid)
          method = Elasticsearch::API::HTTP_PUT
          path   = "_security/profile/#{Utils.__listify(_uid)}/_data"
          params = Utils.process_params(arguments)
          Elasticsearch::API::Response.new(
            perform_request(method, path, params, body, headers)
          )
        end
def update_user_profile_data ( arguments = { } ) raise ArgumentError , "Required argument 'body' missing" unless arguments [ :body ] raise ArgumentError , "Required argument 'uid' missing" unless arguments [ :uid ] arguments = arguments . clone headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) _uid = arguments . delete ( :uid ) method = Elasticsearch :: API :: HTTP_PUT path = "_security/profile/#{Utils.__listify(_uid)}/_data" params = Utils . process_params ( arguments ) Elasticsearch :: API :: Response . new ( perform_request ( method , path , params , body , headers ) ) end
Update application specific data for the user profile of the given unique ID.
Update application specific data for the user profile of the given unique ID .
arguments
:body The application data to update (*Required*)
: body The application data to update ( * Required * )
see
None