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=deleteglobalaccount
(main | deleteglobalaccount)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: CentralAuth
- License: GPL-2.0-or-later
Delete a global user.
Parameters:
- user
User to delete.
- This parameter is required.
- reason
Reason for deleting the user.
- token
A "deleteglobalaccount" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Delete the global account for User:Example
- api.php?action=deleteglobalaccount&user=Example&reason=Because+I+can [open in sandbox]