com.getorbyt.community.manageMember

getorbyt.com

Documentation

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.

main procedure

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

Encodingapplication/json
action 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 bytes
role string Optional

No description available.

Output

Encodingapplication/json
status string Required

No description available.

Known values: none, active, muted, banned

Errors

CommunityNotFound
InsufficientRole
InvalidAction
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
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."
}

Lexicon Garden

@