---
title: "Ban a player from the configured game"
method: POST
path: "/v1/admin.banPlayer"
tags: ["admin"]
---

# Ban a player from the configured game

`POST /v1/admin.banPlayer`

## Request body

- V1AdminBanPlayerRequestBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `cheatDescription` string, required
  - `durationSeconds` integer, required — Ban length in seconds; 0 = permanent
  - `reporterSteamId64` string — Optional reporter SteamID64
  - `steamId64` string, required — Target player SteamID64

## Response `200`

OK

- V1AdminBanPlayerResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `ok` boolean, required
  - `reportId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

> 11 revisions in range; 1 not diffed, 6 could not be searched.

- **2026-07-31** `8c1465a74c5f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/steamsets/apis/steamsets-api/changes/v1/admin.banPlayer/post.md)

---

[API](https://skmtc.dev/steamsets/apis/steamsets-api.md) · [All operations](https://skmtc.dev/steamsets/apis/steamsets-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/steamsets/steamsets-api/revisions/9930915a1df9/schema)
