Method: Auth0::Api::V2::Jobs#send_verification_email
- Defined in:
- lib/auth0/api/v2/jobs.rb
#send_verification_email(user_id) ⇒ json
Send an email to the specified user that asks them to click a link to verify their email address.
42 43 44 45 46 47 48 49 |
# File 'lib/auth0/api/v2/jobs.rb', line 42 def send_verification_email(user_id) raise Auth0::InvalidParameter, 'Must specify a user id' if user_id.to_s.empty? request_params = { user_id: user_id } path = "#{jobs_path}/verification-email" post(path, request_params) end |