code: @POST
    @Path("me/password")
    @RolesAllowed({"ROLE_ADMIN", "ROLE_USER"})
    public Response changePassword(@Context HttpServletRequest request, PasswordRequest passwordRequest) {
      checkPasswordFormat(passwordRequest.getNewPassword());
      checkNotNull(passwordRequest.getOldPassword());
  
      // Only allow changing your own password
      Long userId = (Long) request.getAttribute(OAuth2Filter.NAME_USER_ID);
      userService.changePassword(userId, passwordRequest.oldPassword, passwordRequest.getNewPassword());
  
      return Response.noContent().build();
    }
docs: Change my password. Both the old and new password must be provided.
  
  @param passwordRequest old and new password
  @return 204 (no content) if successful