API:Logout/it

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.

Parameter history

 * v1.34: Introduced

Additional notes

 * 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).

Collegamenti esterni

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