Driver Logout (All Devices)
Revokes all active refresh tokens and increments the session version for the authenticated driver, terminating active sessions across all devices simultaneously.
Endpoint Overview
-
Method:
POST -
Route:
/api/v1/driver/auth/logout-all -
Authentication:
Bearer Token (Driver JWT) -
Content-Type:
N/A
Request Headers
Request Body Schema
None (No request body needed)
Response Body Schema (200 OK)
Response Examples
1. 200 OK — Success
2. 401 Unauthorized — Missing / Expired Token / Revoked Session
3. 401 Unauthorized — Missing Token Header
4. 403 Forbidden — Account Blocked / Deactivated
5. 500 Internal Server Error
Status Codes Reference
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.