changePassword method
Change or set the account password.
Parameters:
- ChangePasswordRequest changePasswordRequest (required):
Implementation
Future<void> changePassword(ChangePasswordRequest changePasswordRequest,) async {
final response = await changePasswordWithHttpInfo(changePasswordRequest,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}