MOR API logout

From KolmiSoft Wiki

Jump to: navigation, search

MOR API

Logs out user from MOR

[edit] Request

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

[edit] 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.

Personal tools