MediaWiki API 說明

此頁為自動產生的 MediaWiki API 說明文件頁面。

說明文件與範例:https://www.mediawiki.org/wiki/API

action=removeauthenticationdata

main | removeauthenticationdata
  • 此模組需要讀取權限。
  • 此模組需要寫入權限。
  • 此模組僅接受 POST 請求。
  • 來源:MediaWiki
  • 協定:GPL-2.0-or-later

為目前使用者移除身分核對資料。

參數:
request

使用此身份驗證請求,透過自action=query&meta=authmanagerinfo回傳的idamirequestsfor=remove

此參數為必填。
token

action=query&meta=tokens 接收的 "csrf" 密鑰。

此參數為必填。
範例:
嘗試移除目前使用者用於 FooAuthenticationRequest 的資料。
api.php?action=removeauthenticationdata&request=FooAuthenticationRequest&token=123ABC [在沙盒中開啟]