curl -X POST https://api.example.com/api/auth/logout \ -H "Cookie: icl-session=<session-value>"
{ "ok": true}
Authentication
Logout
Destroy the current user session
POST
/
api
/
auth
/
logout
curl -X POST https://api.example.com/api/auth/logout \ -H "Cookie: icl-session=<session-value>"
{ "ok": true}
Destroys the current user’s session by removing the icl-session cookie. This endpoint does not require authentication and will succeed even if no session exists.