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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | space.atmo.rsvp |
| Indexed |
Checks
Valid Lint pass{
"$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
}