MedijaViki API pagalba

This is an auto-generated MediaWiki API documentation page.

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

action=resetpassword

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

Send a password reset email to a user.

Parametrai:
user

Iš naujo nustatomas vartotojas.

Type: user name
email

Iš naujo nustatomo vartotojo el. pašto adresas.

token

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

Šis parametras yra reikalingas.
Pavyzdžiai:
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]