place.stream.moderation.deleteBlock
Delete a block (unban) on behalf of a streamer. Requires 'ban' permission. Deletes an app.bsky.graph.block record from the streamer's repository.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | moderation.stream.place |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"errors": [
{
"description": "The request lacks valid authentication credentials.",
"name": "Unauthorized"
},
{
"description": "The caller does not have permission to delete 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": {
"blockUri": {
"description": "The AT-URI of the block record to delete.",
"format": "at-uri",
"type": "string"
},
"streamer": {
"description": "The DID of the streamer.",
"format": "did",
"type": "string"
}
},
"required": [
"streamer",
"blockUri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"parameters": null,
"type": "procedure"
}
},
"id": "place.stream.moderation.deleteBlock",
"lexicon": 1
}