place.stream.moderation.createBlock
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create a block (ban) on behalf of a streamer. Requires 'ban' permission. Creates an app.bsky.graph.block record in the streamer's repository.",
"errors": [
{
"description": "The request lacks valid authentication credentials.",
"name": "Unauthorized"
},
{
"description": "The caller does not have permission to create blocks for this streamer.",
"name": "Forbidden"
},
{
"description": "The streamer's OAuth session could not be found or is invalid.",
"name": "SessionNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"description": "Optional reason for the block.",
"maxLength": 300,
"type": "string"
},
"streamer": {
"description": "The DID of the streamer whose chat this block applies to.",
"format": "did",
"type": "string"
},
"subject": {
"description": "The DID of the user being blocked from chat.",
"format": "did",
"type": "string"
}
},
"required": [
"streamer",
"subject"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "The CID of the created block record.",
"format": "cid",
"type": "string"
},
"uri": {
"description": "The AT-URI of the created block record.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"parameters": null,
"type": "procedure"
}
},
"id": "place.stream.moderation.createBlock",
"lexicon": 1
}
Metadata
- DID
-
did:web:stream.place - CID
-
bafyreieflzfhy2op5av5e2dr4b2jfsbihiibhyqus2eadn3c66hylpcdze - Indexed At
- 2026-07-26 20:18 UTC
- AT-URI
-
at://did:web:stream.place/com.atproto.lexicon.schema/place.stream.moderation.createBlock
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
place.stream.moderation.deleteBlock procedure
Delete a block (unban) on behalf of a streamer. Requires 'ban' permission. Deletes an app.bsky.graph.block record from the streamer's repository.
-
place.stream.moderation.createGate procedure
Create a gate (hide message) on behalf of a streamer. Requires 'hide' permission. Creates a place.stream.chat.gate record in the streamer's repository.
-
app.userinput.ban record
Bans a user from a space (their content is hidden and they cannot post). Only honored when authored by the space owner or a moderator. Lives in the moderator's repo.
-
app.bsky.graph.block record
Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.
-
place.stream.moderation.createPin procedure
Pin a chat message on behalf of a streamer. Requires 'message.pin' permission. Creates a place.stream.chat.pinnedRecord in the streamer's repo, replacing any existing pin.