Logout All Sessions
Invalidates all refresh tokens for the authenticated user.
Headers
- Type: stringAuthorizationrequired
JWT Bearer token. Format:
Bearer <JWT>
Responses
- 200
All refresh tokens invalidated successfully.
- application/json
Request Example for post/api/auth/logoutAll
curl https://demo.api.whispchat.com/api/auth/logoutAll \
--request POST \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9...' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body