---
title: "Block an account"
method: POST
path: "/api/v1/server/blocklist/accounts"
tags: ["Account Blocks"]
---

# Block an account

`POST /api/v1/server/blocklist/accounts`

## Request body

- object
  - `accountName` string, required — account to block, in the form `username@domain`

## Response `200`

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/versions/efe11b159e43/schema)
