Sends an email-change confirmation token to the new email address. The
change must be confirmed via api_user_confirm_email_change() and becomes
active on the next login.
Arguments
- credentials
An
ApiCredentialsobject fromapi_login().The new email address.
See also
api_login() to retrieve credentials.
api_user_confirm_email_change() to confirm the email change.
Examples
if (FALSE) { # \dontrun{
creds <- api_login("https://api.example.com", "user@example.com", "password")
api_user_request_email_change(creds, "newemail@example.com")
} # }