fyi.opensocial.addRecoveryKey

lexicons.opensocial.fyi

Documentation

Add a steward's recovery key to the group's did:plc, ahead of this host's own key. Only the public did:key is sent; the private half stays with the steward. Requires group.configure.

main procedure

Add a steward's recovery key to the group's did:plc, ahead of this host's own key. Only the public did:key is sent; the private half stays with the steward. Requires group.configure.

Input

Encodingapplication/json
group stringdid Required

The group DID. Every method is served by the group's host and authorized against that group's roles.

key string Required

A did:key (secp256k1 or P-256). Only the public key: the host never sees the private half.

Errors

NotPlc
InvalidKey
AlreadyAdded
TooManyKeys
NotController
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Add a steward's recovery key to the group's did:plc, ahead of this host's own key. Only the public did:key is sent; the private half stays with the steward. Requires group.configure.",
  "errors": [
    {
      "name": "NotPlc"
    },
    {
      "name": "InvalidKey"
    },
    {
      "name": "AlreadyAdded"
    },
    {
      "name": "TooManyKeys"
    },
    {
      "name": "NotController"
    }
  ],
  "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"
        },
        "key": {
          "description": "A did:key (secp256k1 or P-256). Only the public key: the host never sees the private half.",
          "type": "string"
        }
      },
      "required": [
        "group",
        "key"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@