class RecombeeApiClient::DeleteUser
Deletes a user of the given userId from the database.
If there are any purchases, ratings, bookmarks, cart additions or detail views made by the user present in the database, they will be deleted in cascade as well.
Attributes
Public Class Methods
Source
# File lib/recombee_api_client/api/delete_user.rb, line 23 def initialize(user_id) @user_id = user_id @timeout = 3000 @ensure_https = false end
-
*Required arguments*
-
user_id
-> ID of the user to be deleted.
-
Public Instance Methods
Source
# File lib/recombee_api_client/api/delete_user.rb, line 35 def body_parameters p = Hash.new p end
Values of body parameters as a Hash
Source
# File lib/recombee_api_client/api/delete_user.rb, line 30 def method :delete end
HTTP method
Source
# File lib/recombee_api_client/api/delete_user.rb, line 48 def path "/{databaseId}/users/#{@user_id}" end
Relative path to the endpoint
Source
# File lib/recombee_api_client/api/delete_user.rb, line 42 def query_parameters params = {} params end
Values of query parameters as a Hash. name of parameter => value of the parameter