API:Block

POST request to block or unblock a user.

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

  Log in, via one of the methods described on .   GET a. This token is equal to the edit token and changes at every login.

  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 <tvar|1> </>
 * 1.14: Introduced <tvar|1>, </>