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.
  • Font : MediaWiki
  • Licéncia : GPL-2.0-or-later

Desblocar un utilizaire.

Paramètres :
id

ID of the block to unblock (obtained through list=blocks). Cannot be used together with user.

Tipus: enter
user

User to unblock. Cannot be used together with id.

Tipus: usuari, per qualsevol de nom d'usuari, IP, Interval d'adreces IP i ID d'usuari (p. ex., «#12345»)
userid
Obsolèt.

Specify user=#ID instead.

Tipus: enter
reason

Motiu del desblocatge.

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

Cal aquest paràmetre.
Examples:
Levar lo blocatge d’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]