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=changeauthenticationdata (changeauth)

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

Change authentication data for the current user.

  • https://www.mediawiki.org/wiki/Special:MyLanguage/API:Manage_authentication_data
Specific parameters:
Other general parameters are available.
changeauthrequest

Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.

This parameter is required.
changeauthtoken

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

This parameter is required.
*
This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=change (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.
Example:
Attempt to change the current user's password to ExamplePassword.
api.php?action=changeauthenticationdata&changeauthrequest=MediaWiki%5CAuth%5CPasswordAuthenticationRequest&password=ExamplePassword&retype=ExamplePassword&changeauthtoken=123ABC [open in sandbox]
Retrieved from "https://tunearch.org/wiki/Special:ApiHelp"

We use cookies (and similar technologies) to personalise content and improve The Traditional Tune Archive website.

With these cookies we collect few and indispensable information about you. With this we adapt our website and communication to your preferences. You can read more about it in our privacy policy.

If you want to manage your cookie preferences, click on Manage preferences. By clicking on Accept all, you agree to the use of all cookies. You can change or withdraw your consent at any time.

Accept all cookiesManage preferences
Something went wrong
Dismiss