chadtmiller.com/group-host
atmosphere group host
0
0
{
"lexicon": 1,
"id": "org.atgrp.internal.removeRecoveryKey",
"defs": {
"main": {
"type": "procedure",
"description": "Take a recovery key off the group's did:plc. This host's own key cannot be removed this way. Requires group.configure.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"group",
"key"
],
"properties": {
"group": {
"type": "string",
"format": "did",
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles."
},
"key": {
"type": "string",
"description": "A did:key (secp256k1 or P-256). Only the public key: the host never sees the private half.",
"format": "did"
}
}
}
},
"errors": [
{
"name": "HostKey"
},
{
"name": "UnknownKey"
},
{
"name": "NotController"
},
{
"name": "InvalidOperation",
"description": "The PLC directory refused the change, as when another was made first: ask again."
}
],
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}