curl -b cookies.txt -c cookies.txt \
https://apitest.tunimobile.com/v1/user/logout
Authentication
Log out
Expire the session cookies.
curl -b cookies.txt -c cookies.txt \
https://apitest.tunimobile.com/v1/user/logout
Requires login. Expires the
BEARER and refresh_token cookies. No body.
Response
200: empty body.
Also clear your local cookie store.
Keep the terminal API key: the device stays registered and will reuse it at the next login.
curl -b cookies.txt -c cookies.txt \
https://apitest.tunimobile.com/v1/user/logout