Skip to content
Hardcount
Run it locally
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
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.

Session revoked