Hanko home page
Search or ask...
Community
Start for free
Start for free
Search...
Navigation
User Management
Log out the current user
Documentation
API Reference
Frontend SDK
Standalone Passkey API
Tutorials
API Documentation
Introduction
Public
Introduction
Flow
Status
Passcode
Password
WebAuthn
.well-known
Third Party
Token
User Management
POST
Get user details by email
DEL
Deletes the current user
GET
Get the current user ID
POST
Log out the current user
POST
Create a user
GET
Get a user by ID
Email Management
Session Management
Admin
Introduction
Status
User Management
Email Management
Password Management
WebAuthn credential Management
OTP Management
Session Management
Webhooks
Audit Logs
Metrics
User Management
Log out the current user
Logs out the user by removing the authorization cookie.
POST
/
logout
Try it
Authorizations
CookieAuth
BearerTokenAuth
hanko
string
cookie
required
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Get the current user ID
Create a user