{
"id": "place.stream.moderation.deleteBlock",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"streamer",
"blockUri"
],
"properties": {
"blockUri": {
"type": "string",
"format": "at-uri",
"description": "The AT-URI of the block record to delete."
},
"streamer": {
"type": "string",
"format": "did",
"description": "The DID of the streamer."
}
}
},
"encoding": "application/json"
},
"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."
}
],
"output": {
"schema": {
"type": "object",
"properties": {}
},
"encoding": "application/json"
},
"parameters": null,
"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."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}