Logout Device
Endpoint: POST auth/logout Logs out a device by invalidating its active tokens. This endpoint requires authentication with a valid JWT token.Body
Headers
- Content-Type: application/json
- Authorization: Bearer
<accessToken>
Response
Success (200 OK)
Error Responses
- Status Code: 401 Unauthorized - When the access token is invalid or expired
- Status Code: 500 Internal Server Error - When an unexpected server error occurs