garden.lexicon.admin.takeDownIdentity
Take down an identity: denylist its DID, delete its records from the index, take down every sandbox it owns, delete its DNS entries and end its sessions. It can't sign in afterwards. Requires a service-auth token from a DID in Lexicon Garden's admin list.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.lexicon.garden |
| Commit rev | 3mzw7lbzudk2r |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Take down an identity: denylist its DID, delete its records from the index, take down every sandbox it owns, delete its DNS entries and end its sessions. It can't sign in afterwards. Requires a service-auth token from a DID in Lexicon Garden's admin list.",
"errors": [
{
"description": "The note is empty or the DID isn't one.",
"name": "InvalidRequest"
},
{
"description": "The token's issuer isn't an admin.",
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"note": {
"description": "Why, for the moderation log.",
"maxLength": 3000,
"minLength": 1,
"type": "string"
}
},
"required": [
"did",
"note"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "garden.lexicon.admin.defs#moderationAction",
"type": "ref"
}
},
"type": "procedure"
}
},
"id": "garden.lexicon.admin.takeDownIdentity",
"lexicon": 1
}