~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
34 lines · 950 B Raw History
{
  "lexicon": 1,
  "id": "org.atgrp.denyJoinRequest",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Deny a pending join request, deleting it. To approve one, write the requester's membership instead. Requires auth as the group.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["member"],
          "properties": {
            "group": {
              "type": "string",
              "format": "did",
              "description": "The group's DID. A group account session names its own; a member's service auth names it here."
            },
            "member": {
              "type": "string",
              "format": "did"
            }
          }
        }
      },
      "errors": [
        {
          "name": "JoinRequestNotFound",
          "description": "No request from that account is waiting."
        }
      ]
    }
  }
}