rsvp.atmo.space.transferOwnership

Transfer space ownership to another DID. Caller must be the current owner. The new owner must already be a write member of the space. The previous owner becomes a regular write member.

Repository @atmo.rsvp did:plc:b63bmauox6z5rbibwrhxrdnw namespace authority
Details · procedure
Kindprocedure
Authorityspace.atmo.rsvp
Indexed
cid bafyreibd5kxu6i6ybml36zu6meo55wqmz5r5yfcdpnuiniuzgxkbjiufeq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Transfer space ownership to another DID. Caller must be the current owner. The new owner must already be a write member of the space. The previous owner becomes a regular write member.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        },
        {
          "description": "Raised if the new owner is not a write member of the space.",
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "newOwnerDid": {
              "format": "did",
              "type": "string"
            },
            "spaceUri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "spaceUri",
            "newOwnerDid"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "space": {
              "ref": "rsvp.atmo.space.defs#spaceView",
              "type": "ref"
            }
          },
          "required": [
            "space"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "rsvp.atmo.space.transferOwnership",
  "lexicon": 1
}