Pre-1.0 · one maintainer · Stripe and cards only · no SDKs (client libraries) yet · no production users yet. Docs describe v0.9.1 (29 Oct 2026) · What’s new →
Revoke the current session and clear the cookie
POST
/v1/auth/logout
const url = 'http://localhost:8080/v1/auth/logout';const options = {method: 'POST', headers: {cookie: 'hardcount_session=<hardcount_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/v1/auth/logout \ --cookie hardcount_session=<hardcount_session>Marks the session row as revoked server-side and clears the cookie on the response. Idempotent — a missing or stale cookie is treated as already-logged-out.
Authorizations
Section titled “Authorizations”- SessionCookie
- None
Responses
Section titled “Responses”Session revoked