Methods > glpi.doLogout

This method is only accessible by authenticated users

Version Comments
1.3.0 No change
1.2.0 No change
0.2.0 Method added

Destroy an authenticated user context

input a hastable of option

  • help option to get usage information
  • session user session identifier

return a hashtable

  • message = Bye

Call example

$ php testxmlrpc.php  --method=glpi.doLogout --session=161b8klmbqe06v8k283i5hh8j7
+ Calling 'glpi.doLogout' on http://localhost//glpi072/plugins/webservices/xmlrpc.php?session=161b8klmbqe06v8k283i5hh8j7
+ Response: Array
(
    [message] => Bye REMI
)