block

Available Since: V1

Block a user for a specific number of days or forever. 

Request

POST api/1/user/block/
Parameter Description
uid The ID of the user to block.
blockedBy The ID of the user applying the block.
days The number of days to block the user for or 0 to apply a permanent block.
reason Text string describing the reason for the block.

Successful Response (200)

{
    "result": true
}

Unsuccessful Response (400)

{
    "result": false
}



TOP