NAME

Document::eSign::Docusign::updatePassword - Used to change a user's password.

VERSION

Version 0.01

functions

updatePassword($varshashref)

Depending on the account settings, you may be required to supply 0 - 3 question and answer pairs.

Example:

my $response = $ds->updatePassword(
    {
        currentPassword => 'OldUserPassword',
        email => 'user@somedomain.com',
        newPassword => 'NewUserPassword',
        forgottenPasswordInfo => {
            forgottenPasswordQuestion1 => 'Some question.',
            forgottenPasswordAnswer1   => 'Some answer.',
            forgottenPasswordQuestion2 => 'Some question.',
            forgottenPasswordAnswer2   => 'Some answer.',
            forgottenPasswordQuestion3 => 'Some question.',
            forgottenPasswordAnswer3   => 'Some answer.',
        }
    }
);