Log out
A log out request ends a user session.
An app doesn’t have to logout usually. The server closes or resurrects the app’s session and other resources when necessary.
The only reasons for app to logout are in order to switch user or if the app is about to be removed.
Resource
POST /me/logout
Parameters
None
Payload
None
Response
None
Context
Authorization |
User |
Errors
HTTP code | Xelion code | Description |
---|---|---|
401 |
10000 |
The user is not authenticated. |
1002X |
Invalid authentication. See exact Xelion code for more information. |
|
403 |
10000 |
No authentication header given |
500 |
11000 |
Internal server error |
Example
Request
POST https://xelion.nl/api/v1/master/me/logout
Payload
None
Response
None