Skip to content

Ban Player

POST
/server/v1/players/{steam64}/bans
curl --request POST \
--url https://example.com/server/v1/players/1/bans \
--header 'Content-Type: application/json' \
--data '{ "reason": "example" }'

A ban issued by anti-cheat on a game server. An empty body bans for “Cheating”.

steam64
required
Steam64
integer
Media typeapplication/json
GuardBan

POST /players/{steam64}/bans. An empty body bans for “Cheating”.

object
reason
Any of:
string
Examplegenerated
{
"reason": "example"
}

Successful Response

Media typeapplication/json
Status

What a write answers. status says which of the two things happened, so a retried write can be told apart from a first one.

object
status
required
Status
string
matchId
Any of:
integer
Examplegenerated
{
"status": "example",
"matchId": 1
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}