---
title: "Changes to Ban User"
method: POST
path: "/admin/users/{user_id}/ban"
---

# Changes to Ban User

`POST /admin/users/{user_id}/ban`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 56 revisions.

- **2026-09-16** `7d4d864e0649`: 1 breaking, 1 warning, 2 info

## Changes

- **2026-09-16** `7d4d864e0649`: 1 breaking, 1 warning, 2 info
  - the request's body type changed from `object` to no type
  - removed the request property `banned_until`
  - added `#/components/schemas/BanUserRequest, subschema #2` to the request body `anyOf` list
  - the request body `application/json` default value `{}` was removed

---

[Operation](https://skmtc.dev/trytrata/apis/fastapi/docs/admin/users/:user_id/ban/post.md) - [API](https://skmtc.dev/trytrata/apis/fastapi.md) - [Page](https://skmtc.dev/trytrata/apis/fastapi/changes/admin/users/:user_id/ban/post)
