API ReferenceAuthentication
Logout user and invalidate session
POST
/v1/auth/logoutAuthorization
bearer AuthorizationBearer <token>
In: header
Response Body
application/json
curl -X POST "https://example.com/v1/auth/logout"{ "success": true, "statusCode": 200, "message": "Request processed successfully", "data": {}, "timestamp": "2025-10-20T16:30:00.000Z", "path": "/v1/auth/register"}