MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=unblock
(main | unblock)
- Denne modulen krever lesetilgang.
- Denne modulen krever skrivetilgang.
- Denne modulen aksepterer bare POST forespørsler.
- Kilde: MediaWiki
- Lisens: GPL-2.0-or-later
Avblokker en bruker.
Parametre:
- id
ID of the block to unblock (obtained through list=blocks). Cannot be used together with user or userid.
- Type: heltall
- 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: heltall
- reason
Reason for unblock.
- Standard: (tom)
- tags
Change tags to apply to the entry in the block log.
- Verdier (separer med | eller alternativ):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Denne parameteren er påkrevd.
Eksempler:
- Unblock block ID #105.
- api.php?action=unblock&id=105 [åpne i sandkasse]
- Unblock user Bob with reason Sorry Bob.
- api.php?action=unblock&user=Bob&reason=Sorry%20Bob [åpne i sandkasse]