Skip to main content
Version: 11.13.0

deleteWebTokenCookie

Deletes the JSON Web Token (JWT) cookie by sending a GET request to the backend server.

Example

delete-web-token-cookie.js
import { deleteWebTokenCookie } from '@sinequa/atomic';

// Deletes the JWT cookie
const response = await deleteWebTokenCookie();