---
title: "Block a server"
method: POST
path: "/api/v1/server/blocklist/servers"
tags: ["Server Blocks"]
---

# Block a server

`POST /api/v1/server/blocklist/servers`

## Request body

- object
  - `host` string, hostname, required — server domain to block

## Response `204`

successful operation

## Other responses

- `409` — self-blocking forbidden

---

[API](https://skmtc.net/cpy/apis/peertube.md) · [All operations](https://skmtc.net/cpy/apis/peertube/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpy/peertube/revisions/efe11b159e43/schema)
