{
"id": "social.colibri.beta.actor.deleteAccount",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"properties": {}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthRequired",
"description": "The request has no valid service auth."
},
{
"name": "SoleOwnerOfCommunity",
"description": "The user solely owns at least one community and must transfer or delete it before deleting their account."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"deleted"
],
"properties": {
"deleted": {
"type": "integer",
"description": "How many indexed records were removed."
}
}
},
"encoding": "application/json"
},
"description": "Erases the requesting user's Colibri data held by this AppView. This does not touch the user's repos, which only they control."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}