Skip to main content

account_update_password

Function account_update_password 

Source
pub async fn account_update_password(
    configuration: &Configuration,
    payload: Option<AccountUpdatePasswordRequest>,
) -> Result<User, Error<AccountUpdatePasswordError>>
Expand description

Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.