Reference

deleteCookie

Appends an expiring `Set-Cookie` header that removes a cookie in the browser.

Signature

function deleteCookie(response: Response, name: string, options: Pick<CookieOptions, "domain" | "path" | "sameSite" | "secure">): Response