MediaWiki API help
10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=unblock
(main | unblock)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: MediaWiki
- License: GPL-2.0+
Unblock a user.
Parameters:
- id
ID of the block to unblock (obtained through list=blocks). Cannot be used together with user or userid.
- Type: integer
- user
Username, IP address or IP address range to unblock. Cannot be used together with id or userid.
- userid
User ID to unblock. Cannot be used together with id or user.
- Type: integer
- reason
Reason for unblock.
- Default: (empty)
- tags
Change tags to apply to the entry in the block log.
- Values (separate with | or alternative):
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Examples:
- Unblock block ID #105.
- api.php?action=unblock&id=105 [open in sandbox]
- Unblock user Bob with reason Sorry Bob.
- api.php?action=unblock&user=Bob&reason=Sorry%20Bob [open in sandbox]
10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!