Trợ giúp về API MediaWiki
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=unblock
(main | unblock)
- Mô đun này cần quyền đọc.
- Mô đun này cần quyền ghi.
- Mô đun này chỉ có nhận các yêu cầu POST.
- Source: MediaWiki
- License: GPL-2.0-or-later
Unblock a user.
Các tham số:
Other general parameters are available.
- id
ID of the block to unblock (obtained through list=blocks). Cannot be used together with user.
- Type: integer
- user
User to unblock. Cannot be used together with id.
- 矯:𠊛用、憑𠬠價值不期𥪝𠸜𠊛用、地址IP、𠊛用暫時、𡉏地址IP 吧 數𠊛用(譬喻「#12345」)
- userid
- Lỗi thời.
Specify user=#ID instead.
- Type: integer
- reason
Reason for unblock.
- Mặc định: (trống)
Change tags to apply to the entry in the block log.
- Các giá trị (phân tách bằng |):
- watchuser
Watch the user's or IP address's user and talk pages.
- Type: boolean (details)
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Các ví dụ:
- 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]