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

(main | resetpassword)
  • 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

Mandar un corrier electronic de reïnicializacion de son senhau a l'utilizaire.

Paramètres :
Other general parameters are available.
user

Utilizaire qu'es estat reïnicializat.

Tipus: usuari, per nom d'usuari
email

Email address of the user being reset.

token

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

Cal aquest paràmetre.
Examples:
Send a password reset email to user Example.
api.php?action=resetpassword&user=Example&token=123ABC [open in sandbox]
Send a password reset email for all users with email address user@example.com.
api.php?action=resetpassword&user=user@example.com&token=123ABC [open in sandbox]