Difference between revisions of "MOR API user logout"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
[[MOR API]]
[[MOR API]] Logs out user from MOR
 
Logs out user from MOR


==Request==
==Request==

Revision as of 15:29, 21 February 2013

MOR API Logs out user from MOR

Request

HTML POST: http://<SERVER_IP>/billing/api/logout?u=username&p=password

Result

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
 <action>
   <name>logout</name>
   <status>ok</status>
 </action>


Everything is ok. User is logged out from the system.


<?xml version="1.0" encoding="utf-8" standalone="yes"?>
 <action>
   <name>logout</name>
   <status>failed</status>
 </action>


This means that wrong username and/or password and user can't be authenticated and logged out from the system.