Skip to main content
Signal the end of the current session and receive a logout confirmation. Call this endpoint when a user explicitly signs out of your application, then immediately discard the JWT token from your client-side storage.

Endpoint

Authentication

None required. Axis uses stateless JWTs — there is no server-side session to invalidate.

Request Body

None. No request body is expected.

Response — 200 OK

string
Always "success" for a successful response.
string
Human-readable confirmation that the logout was processed.
Axis issues stateless JWTs — the server does not maintain a session store, so there is nothing to invalidate server-side. After calling this endpoint, you are responsible for removing the token from all client-side storage (e.g. memory, localStorage, sessionStorage, or cookies). Any request made with the old token before it naturally expires will still succeed, so treat logout as a client-side operation first and foremost.