{
  "lexicon": 1,
  "id": "chat.bsky.group.rejectJoinRequest",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.",
      "errors": [{ "name": "InvalidConvo" }, { "name": "InsufficientRole" }],
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["convoId", "member"],
          "properties": {
            "convoId": { "type": "string" },
            "member": { "type": "string", "format": "did" }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [],
          "properties": {}
        }
      }
    }
  }
}

