Ajuda API da MediaWiki

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
  • Licença: GPL-2.0+

Desbloquear um utilizador.

Parâmetros:
id

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

Type: integer
user

Username, IP address or IP range to unblock. Cannot be used together with id.

reason

Motivo para o desbloqueio.

Padrão: (vazio)
token

A "csrf" token retrieved from action=query&meta=tokens

Este parâmetro é obrigatório.
Exemplos:
Unblock block ID #105.
api.php?action=unblock&id=105
Unblock user Bob with reason Sorry Bob.
api.php?action=unblock&user=Bob&reason=Sorry%20Bob