place.stream.moderation.createBlock

did:web:stream.place

{
  "$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
}

Validate Record

Validate a record against place.stream.moderation.createBlock

Validation Options
Treat any remaining unresolved references as valid

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.

  • Delete a block (unban) on behalf of a streamer. Requires 'ban' permission. Deletes an app.bsky.graph.block record from the streamer's repository.

  • 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.

  • 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.

  • Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.

  • 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.

Lexicon Garden

@