API:Logout

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.

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