reset_authentication_email_address

Function reset_authentication_email_address 

Source
pub async fn reset_authentication_email_address(
    client_id: i32,
) -> Result<(), Error>
Expand description

Resets the login email address. May return an error with a message “TASK_ALREADY_EXISTS” if reset is still pending. Works only when the current authorization state is authorizationStateWaitEmailCode and authorization_state.can_reset_email_address == true

§Arguments

  • client_id - The client id to send the request to