MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=logout
(main | logout)
- Ta modul sprejema samo zahtevke POST.
- Source: MediaWiki
- License: GPL-2.0-or-later
Log out and clear session data.
Specifični parameter:
Na voljo so tudi drugi splošni parametri.
- token
A "csrf" token retrieved from action=query&meta=tokens
- Ta parameter je obvezen.
Zgled:
- Log the current user out.
- api.php?action=logout&token=123ABC [open in sandbox]