'Remove a specific cookie from all request ctx koa?

What is the most effective way for remove a cookie from every request / reponse on node.js with koa ? I want to remove it everywhere, even on ctx.req , ctx.query etc , everything he would appears.

i tried with

ctx.cookies.set('foo', null);

but it's still exist on ctx.req ?

router.get("/", async ctx => {

      ctx.cookies.set('foo', null);
   
      ctx.redirect(`/auth`);
      await handleRequest(ctx);
    }
  });


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source