Adding a ban

Request

POST https://api.blockdb.ru/{version}/bans

Headers

Accept: application/json * Authorization: Bearer {api_key} *

Definitions

{version} * - The version of the API you are calling (e.g., v2). {api_key} * - Your API key, provided by the author upon purchase.

* - mandatory headings. Without them, you will not be able to get a correct answer.

Body parameters

name
type
description

steamid64 *

string

SteamID64 of the offender

reason *

string

Reason for ban

duration *

int64

Lockout duration (0 - permanently)

user_ip

string

IPv4 of the offender

Please note! Parameters are passed in application/json format

Responses

Response format application/json

Last updated