Mute, ban, or re-role a member. Only an owner may set a role; a moderator may mute and ban, but never a peer or the owner.
Input
application/jsonaction
string
Required
No description available.
community
stringat-uri
Required
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
did
stringdid
Required
A decentralized identifier (DID).
reason
string
Optional
Recorded on the membership row for the acting moderator's own reference. Orbyt keeps no moderation audit log.
maxLength: 1000 bytesrole
string
Optional
No description available.
Output
application/jsonstatus
string
Required
No description available.
none, active, muted, bannedErrors
CommunityNotFound
InsufficientRole
InvalidAction
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"community",
"did",
"action"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"role": {
"type": "string",
"knownValues": [
"moderator",
"member"
]
},
"action": {
"type": "string",
"knownValues": [
"setRole",
"mute",
"unmute",
"ban",
"unban"
]
},
"reason": {
"type": "string",
"maxLength": 1000,
"description": "Recorded on the membership row for the acting moderator's own reference. Orbyt keeps no moderation audit log."
},
"community": {
"type": "string",
"format": "at-uri"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "CommunityNotFound"
},
{
"name": "InsufficientRole"
},
{
"name": "InvalidAction"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"knownValues": [
"none",
"active",
"muted",
"banned"
]
}
}
},
"encoding": "application/json"
},
"description": "Mute, ban, or re-role a member. Only an owner may set a role; a moderator may mute and ban, but never a peer or the owner."
}