API:Delete

POST request to delete a page. Pages can be undeleted with the method.

Parameter history

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

Additional notes

 * For older versions of MediaWiki, you can use or  to get an edit token in place of login token.


 * 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.