admin.setBan

Description

Only admins can call this method. Ban user.

Attention

Method require user authorization and specified authKey parameter in request

Arguments

int userId (required)
ID of user
int reason (required)
Reason from list: 0 - unban
string comment (optional)
Comment

Example

userId*
reason*
comment