MediaWiki API help

If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

This is an auto-generated MediaWiki API documentation page.

Documentation and examples:


(main | resetpassword)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Send a password reset email to a user.


User being reset.

Type: user name

Email address of the user being reset.


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

This parameter is required.
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
api.php?action=resetpassword& [open in sandbox]