MediaWiki API 幫助
這是自動生成的MediaWiki API文檔頁面。
文檔和例子:https://www.mediawiki.org/wiki/API:Main_page/zh
action=removeauthenticationdata
(main | removeauthenticationdata)
- 此模塊需要讀取權限。
- 此模塊需要寫入權限。
- 此模塊只允許POST請求。
- 來源:MediaWiki
- 許可協議:GPL-2.0+
Remove authentication data for the current user.
參數:
- request
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=remove.
- 這個參數是必須的。
- token
從action=query&meta=tokens取回的“csrf”令牌
- 這個參數是必須的。
例子:
- Attempt to remove the current user's data for FooAuthenticationRequest.
- api.php?action=removeauthenticationdata&request=FooAuthenticationRequest&token=123ABC [在沙盒中打開]