API:Logout

From MediaWiki.org

Jump to: navigation, search
Tools clipart.png This page is part of the MediaWiki API documentation.
Languages Language: 

English  • Deutsch  • Español  • Français  • Русский  • 中文

MediaWiki API
  • Quick start guide
  • FAQ
  • Formats
  • Error reporting
  • Restricting usage
  • Authentication
    • Login
    • Logout
  • Site matrix
  • Queries
    • Meta information
    • Properties
    • Lists
  • Expanding templates and rendering
  • Purging pages' caches
  • Parameter information
  • Editing
    • Register new users
    • Create/Edit pages
    • Move pages
    • Rollback
    • Delete pages
    • Restore deleted revisions
    • (Un)protect pages
    • (Un)block users
    • (Un)watch pages
    • Send e-mail
    • Patrol changes
    • Import pages
    • Add/remove users to/from groups
    • Upload files
  • Extensions which extend the API
  • Using internally and in extensions
  • Miscellaneous
  • Implementation
  • Client code
MediaWiki version: 1.12

The logout procedure deletes the login tokens and other browser cookies.

[edit] Example request

Logging out

api.php ? action=logout
<?xml version="1.0" encoding="utf-8"?>
<api />

[edit] Errors

None

Retrieved from "http://www.mediawiki.org/wiki/API:Logout"
Category: MediaWiki API
Views
  • Page
  • Discussion
  • Edit
  • History
Personal tools
  • Try Beta
  • Log in / create account
Site
  • Main Page
  • Browse categories
  • Community portal
  • Recent changes
  • Tech blog
 
Support
  • User help
  • Technical manual
  • FAQ
  • Support desk
Download
  • Get MediaWiki
  • Get extensions
Development
  • Bug tracker
  • Download from SVN
  • View code changes
  • Code comments
  • Browse SVN
  • Code docs
Communication
  • IRC (#mediawiki)
  • Mailing lists
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Cite this page
Powered by MediaWiki
Wikimedia Foundation
  • This page was last modified on 8 November 2008, at 22:31.
  • Text is available under the Creative Commons Attribution/Share-Alike License; additional terms may apply. See Terms of Use for details.
  • Privacy policy
  • About MediaWiki.org
  • Disclaimers