Last updated 12 months ago
Log out the current user token.
Accepted
const response = await fetch('/auth/logout', { method: 'POST', headers: { "Authorization": "Bearer jwt" }, }); const data = await response.json();