elasticsearch-api/lib/elasticsearch/api/actions/security/activate_user_profile.rb
# Creates or updates the user profile on behalf of another user.
# 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 [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The grant type and user's credential (*Required*)
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-activate-user-profile.html
#
Creates or updates the user profile on behalf of another user.
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.
Creates or updates the user profile on behalf of another user . 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 activate_user_profile(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          arguments = arguments.clone
          headers = arguments.delete(:headers) || {}
          body   = arguments.delete(:body)
          method = Elasticsearch::API::HTTP_POST
          path   = "_security/profile/_activate"
          params = {}
          Elasticsearch::API::Response.new(
            perform_request(method, path, params, body, headers)
          )
        end
def activate_user_profile ( arguments = { } ) raise ArgumentError , "Required argument 'body' missing" unless arguments [ :body ] arguments = arguments . clone headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) method = Elasticsearch :: API :: HTTP_POST path = "_security/profile/_activate" params = { } Elasticsearch :: API :: Response . new ( perform_request ( method , path , params , body , headers ) ) end
Creates or updates the user profile on behalf of another user.
Creates or updates the user profile on behalf of another user .
arguments
:body The grant type and user's credential (*Required*)
: body The grant type and user ' s credential ( * Required * )
see
None