---
title: "Ban User"
method: POST
path: "/admin/users/{user_id}/ban"
tags: ["Admin"]
---

# Ban User

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

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/admin/users/{user_id}/ban`
- Auth: HTTP bearer

## Path parameters

- `user_id` string, required

## Query parameters

- `ban` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
