code: public ModelApiResponse changePassword(ChangePasswordOperation request, String authorization) throws AuthenticationApiException {
          try {
              ApiRequestChangePasswordOperation req = new ApiRequestChangePasswordOperation();
              req.data(request);
              return authenticationApi.changePassword(req, authorization);
          } catch (ApiException e) {
              throw new AuthenticationApiException("Error changing password", e);
          }
      }
docs: Change password
  Change the user&#39;s password.
  
  @param request       request (required)
  @param authorization The OAuth 2 bearer access token you received from [/auth/v3/oauth/token](/reference/authentication/Authentication/index.html#retrieveToken). For example: \&quot;Authorization: bearer a4b5da75-a584-4053-9227-0f0ab23ff06e\&quot;  (optional, default to bearer)
  @return ModelApiResponse
  @throws AuthenticationApiException if the call is unsuccessful.