API:Delete/ja

ページを削除する POST リクエストです.

例
The process has four steps:


 * 1) Fetch login token from.
 * 2) Send a POST request with the fetched login token and user information to the API.
 * 3) Retrieve a CSRF token when logged in.
 * 4) Send a post request to delete a page with the fetched CSRF token.

サンプル コード
delete.py

Parameter History

 * v1.27: Introduced
 * v1.17: Deprecated ,
 * v1.14: Introduced
 * v1.13: Introduced,  ,

Additional notes

 * MediaWiki のより古いバージョンでは、 または を使用してログイン トークンの位置で編集トークンを取得します.
 * While executing the code snippets provided on this page, remember to use  as the endpoint, so that you don't accidentally delete pages on production wikis.
 * In addition to the  right, other rights may be required, depending on the location and type of page.

Deleting a user's  page, for example, also requires the   right.