Logout (Destroy Session)
Destroy the current user session.
Authentication: Required — Bearer token.
Response:
message— “success”
Side effects: Clears the user’s server-side cache. The Bearer token itself is not revoked — it stays valid until its 30-day expiry, so discard it client-side.
Errors:
401— Invalid or expired token
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
OK