---
title: "Block user"
method: POST
path: "/v1/users/{user_id}/blocks"
tags: ["Users"]
---

# Block user

`POST /v1/users/{user_id}/blocks`

## Path parameters

- `user_id` integer, required

## Response `201`

Created

## Other responses

- `401` — Unauthorized

---

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