API:Logout/de-formal

POST request to log out of account. The previously used GET request without token returns a warning and does NOT log out.

Logging out deletes the and other browser cookies.



Beispiel


Antwort


Parameter history

 * v1.34:  eingeführt



Zusätzliche Anmerkungen

 * All Wikimedia wikis with MediaWiki 1.34.0-wmf.3 require a CSRF token (same as used for editing) for using this module (mediawiki-api-announce/2019-April/000145.html).



Siehe auch




Externe Links

 * T25227 — Use token when logging out
 * T222626 — Turn logout link into a POST API call with refresh