Skip to content

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
object
streamer
required

The DID of the streamer whose chat this block applies to.

string format: did
subject
required

The DID of the user being blocked from chat.

string format: did
reason

Optional reason for the block.

string
<= 300 characters

Success

object
uri
required

The AT-URI of the created block record.

string format: uri
cid
required

The CID of the created block record.

string format: cid

Bad Request

object
error
required
One of:
string
message
required
string