---
title: "Create a block (ban) on behalf of a streamer. Requires 'ban' permission. Creates an app.bsky.graph.block record in the streamer's repository."
method: POST
path: "/xrpc/place.stream.moderation.createBlock"
tags: ["place.stream.moderation"]
---

# Create a block (ban) on behalf of a streamer. Requires 'ban' permission. Creates an app.bsky.graph.block record in the streamer's repository.

`POST /xrpc/place.stream.moderation.createBlock`

## Request body

- object
  - `streamer` string, did, required — The DID of the streamer whose chat this block applies to.
  - `subject` string, did, required — The DID of the user being blocked from chat.
  - `reason` string — Optional reason for the block.

## Response `200`

Success

- object
  - `uri` string, uri, required — The AT-URI of the created block record.
  - `cid` string, cid, required — The CID of the created block record.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/streamplace/apis/generated-lexicon-api-schema.md) · [All operations](https://skmtc.net/streamplace/apis/generated-lexicon-api-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamplace/generated-lexicon-api-schema/versions/8e2ce7f5d85b/schema)
