Difference between revisions of "MOR API user logout"
From Kolmisoft Wiki
Jump to navigationJump to search
(→Usage) |
(→Usage) |
||
Line 5: | Line 5: | ||
=Usage= | =Usage= | ||
* Call: /api/user_logout | * Call: /api/user_logout | ||
* For Backwards-compatibility old name 'logout' is also usable. Call: /billing/api/logout | |||
* Methods: POST, GET(if allowed, not recomended) | * Methods: POST, GET(if allowed, not recomended) | ||
<br><br> | <br><br> |
Revision as of 15:03, 23 May 2013
Description
MOR API Logs out user from MOR
Usage
- Call: /api/user_logout
- For Backwards-compatibility old name 'logout' is also usable. Call: /billing/api/logout
- Methods: POST, GET(if allowed, not recomended)
Parametres
- u – username. Required.
Request
HTML POST: http://<SERVER_IP>/billing/api/user_logout?u=username
Result
Success if User is logged out from the system.
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <action> <name>logout</name> <status>ok</status> </action>
Error.This means that wrong username and/or password and user can't be authenticated and logged out from the system.
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <action> <name>logout</name> <status>failed</status> </action>