To exit Wialon correctly, use the command core/logout:
svc=core/logout¶ms={}
 You can find an example of this request in the sample Login/logout.
{ "error":<int> /* error code */ }
| Code | Value | 
|---|---|
| 0 | exit successful | 
| 1 | server connection error | 
| 4 | user not authorized |