Method: Auth0::Api::V2::Users#delete_user_authentication_methods

Defined in:
lib/auth0/api/v2/users.rb

#delete_user_authentication_methods(user_id) ⇒ Object

Deletes all of the user’s authentication methods

Parameters:

  • user_id (string)

    The user ID

Raises:

See Also:



429
430
431
432
433
# File 'lib/auth0/api/v2/users.rb', line 429

def delete_user_authentication_methods(user_id)
  raise Auth0::MissingUserId, 'Must supply a valid user_id' if user_id.to_s.empty?

  delete "#{users_path}/#{user_id}/authentication-methods"          
end