API:Block

POST REQUEST to block or unblock a user.

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


 * 1) Log in, via one of the methods described on API:Login.
 * 2) GET a token.This token is equal to the edit token and changes at every login.
 * 3) Send a POST request, with the token, to block a user.

Sample code
block_user.py

Parameter history

 * 1.29: Introduced
 * 1.21 Removed
 * 1.20: Deprecated
 * 1.18: Introduced
 * 1.14: Introduced ,