Skip to content

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

POST
/xrpc/place.stream.moderation.deleteBlock
curl --request POST \
--url https://example.com/xrpc/place.stream.moderation.deleteBlock \
--header 'Content-Type: application/json' \
--data '{ "streamer": "example", "blockUri": "https://example.com" }'
Media typeapplication/json
object
streamer
required

The DID of the streamer.

string format: did
blockUri
required

The AT-URI of the block record to delete.

string format: uri

Example generated

{
"streamer": "example",
"blockUri": "https://example.com"
}

Success

Media typeapplication/json
object

Example generated

{}

Bad Request

Media typeapplication/json
object
error
required
One of:
string
Allowed value: Unauthorized
message
required
string

Example

{
"error": "Unauthorized"
}