Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

action=logout

(main | logout)
  • This module only accepts POST requests.
  • Извор: MediaWiki
  • Лиценца: GPL-2.0-or-later

Log out and clear session data.

Специфични параметри:
Other general parameters are available.
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Пример:
Log the current user out.
api.php?action=logout&token=123ABC [open in sandbox]