Atmosphere GroupsOpen specificationBeta
MenuClose

org.atgrp.leaveGroup

Leave a group, deleting the caller's membership, which the group authored. The caller should also delete their confirmation. Requires service auth.

Kind
A method (procedure)
Part of
The spec
Published
On the network, the same as the spec has it.
On the reference host
fyi.opensocial.leaveGroup, its schema of the same name. It may differ from this one.

main procedure

Input

Encoding: application/json

FieldTypeDescription
group (required)string (did)

Errors

  • GroupNotFound
The schema in the spec
{
  "lexicon": 1,
  "id": "org.atgrp.leaveGroup",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Leave a group, deleting the caller's membership, which the group authored. The caller should also delete their confirmation. Requires service auth.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "group"
          ],
          "properties": {
            "group": {
              "type": "string",
              "format": "did"
            }
          }
        }
      },
      "errors": [
        {
          "name": "GroupNotFound"
        }
      ]
    }
  }
}

All of the spec's lexicons