---
title: "block user"
method: PUT
path: "/admin/user/{user_id}/block"
tags: ["user"]
---

# block user

`PUT /admin/user/{user_id}/block`

## Path parameters

- `user_id` integer, required

## Request body

- SvcUserBlockReq
  - `until` integer

## Response `200`

OK

- ContextResponse
  - `data` unknown
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

## Changes

> 33 revisions in range; 1 could not be searched.

- **2026-03-03** `6926d1b56ef5` — 1 info
  - endpoint added
- **2025-12-26** `4207addadff2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chaitin/apis/koalaqa-api/changes/admin/user/:user_id/block/put.md)

---

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