code: @POST
    @Path("{id}/account/confirm")
    @PermitAll
    public Response confirmAccount(@PathParam("id") Long userId, AccountRequest request) {
      checkNotNull(userId);
      checkNotNull(request.getToken());
  
      boolean isSuccess = userService.confirmAccountUsingToken(userId, request.getToken());
      return isSuccess ? Response.noContent().build() : Response.status(Response.Status.BAD_REQUEST).build();
    }
docs: Confirm a newly create account using a temporary token.
  
  @param userId unique user id
  @param request token
  @return 204 if success
  @return 400 if id / token combination is invalid