Skip to content

Unpin a pinned chat message on behalf of a streamer. Requires 'message.pin' permission. Deletes the place.stream.chat.pinnedRecord from the streamer's repo.

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

The DID of the streamer.

string format: did
pinUri
required

The AT-URI of the pinned record to delete.

string format: uri

Example generated

{
"streamer": "example",
"pinUri": "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"
}