Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (40 sloc) 2.99 KB


Logout of the current session, invalidating the API token.

HTTP Method

.. http:get:: /api/account/logout

Query String Parameters — Required

Name Details
v Description The version of the API to use
Allowed Values 1
Example v=1
api_token Description The API token to invalidate
Allowed Values Hex String
Example api_token=7ca5dc5c7cce449fb0fff719307e8f5f


HTTP Code Details
204 Description Success
Contents none
400 Description An error occurred
Contents Error description (see :ref:`error-format-label` for details)

Example Requests

GET /api/account/logout?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f HTTP/1.1

Example Response

HTTP/1.1 204 OK