code: @GET
    @Path("logout")
    public Response logout() throws URISyntaxException {
      return Response
          .temporaryRedirect(new URI("/"))
          .cookie(createCookie(null, 0))
          .build();
    }
docs: Remove cookie from the user agent.
  
  @return Redirect to requests
  @throws URISyntaxException