API:Move

POST request to move a page.

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

  Log in, via one of the methods described on .   GET a.   Send a POST request, with the CSRF token, to take action on a page.  

The sample code below covers the final step in detail.

Parameter history

 * v1.29: Introduced  
 * v1.17: Deprecated , 
 * v1.17: Introduced  

Additional notes

 * Successful use of the <tvar|1> </> parameter requires the <tvar|2> </> right, which is granted to bots and sysops, not ordinary users.


 * Creating a redirect is the API's default behavior. If you do not have the <tvar|1> </> right, the API will not return an error; it will simply create a redirect.

The relevant error will be returned as a standard <tvar|1> / </> structure under the <tvar|2> </> key.
 * The Move API uses two additional error handling methods when the page move succeeded, but the talk page or subpage move failed:
 * - The relevant error will be returned in the <tvar|1> </> and <tvar|2> </> fields.