Changes the password for the currently authenticated user. The new password becomes active on the next login.
Arguments
- credentials
An
ApiCredentialsobject fromapi_login().- old_password
The current password.
- new_password
The new password.
See also
api_login() to retrieve credentials.
Examples
if (FALSE) { # \dontrun{
creds <- api_login("https://api.example.com", "user@example.com", "password")
api_user_change_password(creds, "old_pass", "new_pass")
} # }