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=removeauthenticationdata
(main | removeauthenticationdata)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: MediaWiki
- License: <span dir="ltr" lang="en">GPL-2.0-or-later</span>
Remove authentication data for the current user.
Parameters:
- request
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=remove.
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Attempt to remove the current user's data for FooAuthenticationRequest.
- api.php?action=removeauthenticationdata&request=FooAuthenticationRequest&token=123ABC [open in sandbox]