Skip to content

place.stream.moderation.deleteBlock

Lexicon Version: 1

Type: 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.

Parameters: (None defined)

Input:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
streamerstringThe DID of the streamer.Format: did
blockUristringThe AT-URI of the block record to delete.Format: at-uri

Output:

  • Encoding: application/json
  • Schema:

Schema Type: object

(No properties defined) Possible Errors:

  • Unauthorized: The request lacks valid authentication credentials.
  • Forbidden: The caller does not have permission to delete blocks for this streamer.
  • SessionNotFound: The streamer’s OAuth session could not be found or is invalid.

{
"lexicon": 1,
"id": "place.stream.moderation.deleteBlock",
"defs": {
"main": {
"type": "procedure",
"description": "Delete a block (unban) on behalf of a streamer. Requires 'ban' permission. Deletes an app.bsky.graph.block record from the streamer's repository.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["streamer", "blockUri"],
"properties": {
"streamer": {
"type": "string",
"format": "did",
"description": "The DID of the streamer."
},
"blockUri": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of the block record to delete."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {}
}
},
"errors": [
{
"name": "Unauthorized",
"description": "The request lacks valid authentication credentials."
},
{
"name": "Forbidden",
"description": "The caller does not have permission to delete blocks for this streamer."
},
{
"name": "SessionNotFound",
"description": "The streamer's OAuth session could not be found or is invalid."
}
]
}
}
}