API:Move

Token
To move a page, a move token is required. This token is equal to the edit token and the same for all pages, but changes at every login. Moves tokens can be obtained via action=meta&query=tokens:

Moving pages
Pages can be moved with action=move.

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

Possible errors
All errors are formatted as:

NOTE: The Move API uses two additional error handling methods when the page move succeeded, but the talk page or sub-page move failed:
 * Talk page: The relevant error will be returned in the  and   fields.
 * Subpages: The relevant error will be returned as a standard /  structure under the   key.