MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=resetpassword

(main | resetpassword)
  • Denna modul kräver läsrättigheter.
  • Denna modul kräver skrivrättigheter.
  • Denna modul accepterar endast POST-begäranden.
  • Source: MediaWiki
  • License: GPL-2.0+

Send a password reset email to a user.

Parametrar:
user

User being reset.

Type: user name
email

Email address of the user being reset.

token

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

Denna parameter är obligatorisk.
nocache
(no description)
Type: boolean (details)
prop_append
(no description)
Type: boolean (details)
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]