cURL
curl --request POST \ --url https://api.flowxi.app/api/v1/auth/logout-device \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "device_id": "device-uuid-123" } '
{ "code": "LOGOUT_SUCCESS", "message": "Logged out." }
Revokes the token associated with a device_id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"device-uuid-123"
Device logged out.
"OK"