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
- Named in
- File
lexicons/org/atgrp/leaveGroup.on tangledjson - Published
- On the network, the same as the spec has it.
- On the reference host
fyi., its schema of the same name. It may differ from this one.opensocial. leaveGroup
main procedure
Input
Encoding: application/json
| Field | Type | Description |
|---|---|---|
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"
}
]
}
}
}