Account/end session

«  Return to the list of API methods

Contents

URL

http://yourserver/api/account/end_session.format

Description

It finishes the session. It is like the 'Logout' page in Jisko

Available formats

XML, JSON

HTTP Method

POST

Requires authentication

YES


Return example (XML)

curl http://yourserver/api/account/end_session.xml
<?xml version="1.0" encoding="UTF-8"?>
<hash>
 <request>/api/account/end_session.xml</request>
 <error>Logged out.</error>
</hash>

Return example (JSON)

curl http://yourserver/api/account/end_session.json
{
    "request": "\/api\/account\/end_session.json",
    "error": "Logged out."
}