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