API:Revisiondelete/de-formal

POST request to delete and undelete revisions.

Beispiel
Making any POST request is a multi-step process:

  Log in, via one of the methods described on.   GET an edit/CSRF token as shown here   Send a POST request, with the CSRF token, to delete and undelete revisions.  

The sample codes below cover these steps.

Parameter history

 * v1.29: Introduced

Siehe auch

 * - To show and hide individual page revisions.
 * - To hide individual entries in a page history or log.
 * - API parameters used for listing deleted revisions.
 * - To get deleted revision information.