Logout

Log out

Log out the current user token.

POST/auth/logout
Authorization
Response

Accepted

Request
const response = await fetch('/auth/logout', {
    method: 'POST',
    headers: {
      "Authorization": "Bearer jwt"
    },
});
const data = await response.json();

Last updated