---
title: "Ban a miner"
method: POST
path: "/v1/admin/miners/{miner_hotkey}/ban"
tags: ["admin"]
---

# Ban a miner

`POST /v1/admin/miners/{miner_hotkey}/ban`

Ban a miner from submitting agents.

## Path parameters

- `miner_hotkey` string, required — Miner hotkey to ban

## Request body

- BanRequest
  - `reason` string, required — Reason for the ban

## Response `200`

Successful Response

- BanResponse
  - `hotkey` string, required — Hotkey of the banned/unbanned entity
  - `is_banned` boolean, required — Current ban status after the operation

## Other responses

- `404` — Miner not found
- `422` — Validation Error

---

[API](https://skmtc.dev/oroagents/apis/oro-api.md) · [All operations](https://skmtc.dev/oroagents/apis/oro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oroagents/apis/oro-api/revisions/3e921f170eed?raw)
