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=regexunblock
(main | regexunblock)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: RegexBlock
- License: GPL-2.0-or-later
Unblock users' names and IP addresses via regular expressions.
Parameters:
- regex
The blocked regular expression to unblock (may not actually be a true regular expression when exact blocking is used).
- This parameter is required.
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Examples:
- Unblock "192.0.2.5" (which was presumably blocked with the "exact" option to block only that IP address from editing)
- api.php?action=regexunblock®ex=192.0.2.5 [open in sandbox]
- Unblock the regular expression "SpamUser.*" so that accounts like "SpamUser66" may be created and existing accounts with such names can edit the site.
- api.php?action=regexunblock®ex=SpamUser.* [open in sandbox]