API:Delete/ko

토큰
문서를 삭제하려면 삭제 토큰이 필요합니다. 이 토큰은 편집 토큰과 모든 문서에 동일하지만 로그인할 때마다 바뀝니다. 삭제 토큰은 다음과 같이 얻을 수 있습니다:

문저 삭제하기
문서는 action=delete로 삭제할 수 있습니다.

Parameters

 * title:  The page you want to delete.
 * pageid: The page id of the page you want to delete
 * token:  The CSRF token obtained in the previous request. Take care to urlencode the trailing   as.
 * reason: The reason for the deletion (optional). If not provided, an automatically generated reason will be used.
 * watch:  Add the page to your watchlist
 * unwatch: Remove the page from your watchlist
 * oldimage: The name of the old image to delete as provided by

Example
Note: In this example, all parameters are passed in a GET request just for the sake of simplicity. However,  requires POST requests; GET requests will cause an error.

Possible errors
In addition to the usual stuff: