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=unblock

(main | unblock)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Lähde: MediaWiki
  • Lisenssi: GPL-2.0-or-later

Unblock a user.

Parametrit:
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.

Tyyppi: user, by any of käyttäjänimi, IP-osoite, IP-osoiteavaruus ja käyttäjän tunnistenumero (esim. "#12345")
userid
Deprecated.

Specify user=#ID instead.

Type: integer
reason

Reason for unblock.

Oletus: (tyhjä)
tags

Change tags to apply to the entry in the block log.

Values (separate with | or alternative):
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.