SmartMemory
POST
/auth/logout

Logout user by revoking the current session's tokens.

Denylists the active access token's jti (immediate, single-token revocation) and revokes refresh tokens, then clears SmartMemory session cookies.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token is either a Clerk session JWT or a SmartMemory API key (prefix sm_live_, sm_test_, or legacy sk_).

In: header

Response Body

curl -X POST "https://example.com/auth/logout"
Empty