Logout

Don't forget to set credentials include on the logout api request.

 credentials: 'include',

Logout user

POST /api/auth/logout

{
    success: "OK"
}

Last updated