Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Taykl12/Classify/llms.txt

Use this file to discover all available pages before exploring further.

The logout endpoint notifies the server that a session is ending and returns a simple success response. Because Classify uses stateless JWT authentication via Supabase, the server does not maintain a session store — the real logout action is clearing classify_access_token from localStorage on the client side.

Request

No request body or authentication header is required.
POST /api/auth/logout

Response

{
  "ok": true
}

Example

curl -X POST http://localhost:3001/api/auth/logout
The server does not invalidate the JWT on logout — token expiry is handled by Supabase. After calling this endpoint, remove the token from localStorage immediately to prevent further authenticated requests.

Build docs developers (and LLMs) love