User:Zaycodes/Sandbox/API:Resetpassword

POST request to reset password for all users with an email address.

Example
Making any POST request is a multi-step process:

  Log in, via one of the methods described on .   GET an 1>Special:MyLanguage/Manual:Edit token|edit/CSRF token as shown here    Send a POST request, with the CSRF token, to reset password for all users with an email address.  

The sample codes below cover these steps.