fyi.opensocial.leaveGroup

Leave the group.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed
cid bafyreiepuxdsmj24kemsoimf2nqvl67czrgdvdspgqrdadmbuwxnufuily

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Leave the group.",
      "errors": [
        {
          "description": "The account is not a member of the group.",
          "name": "NotAMember"
        },
        {
          "description": "It would leave the group with nobody able to configure it.",
          "name": "LastConfigurer"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "group"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.leaveGroup",
  "lexicon": 1
}