garden.lexicon.admin.takeDownSandbox
Take down a garden.lexicon sandbox: denylist its prefix, delete its _lexicon DNS records and every indexed schema under it, and refuse republish and renew. The name stays assigned to its owner. Requires a service-auth token from a DID in Lexicon Garden's admin list.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | admin.lexicon.garden |
| Commit rev | 3mzw7lbqlfi2w |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Take down a garden.lexicon sandbox: denylist its prefix, delete its _lexicon DNS records and every indexed schema under it, and refuse republish and renew. The name stays assigned to its owner. Requires a service-auth token from a DID in Lexicon Garden's admin list.",
"errors": [
{
"description": "The note is empty or the name isn't a pet name.",
"name": "InvalidRequest"
},
{
"description": "No sandbox has that name.",
"name": "NotFound"
},
{
"description": "The token's issuer isn't an admin.",
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"note": {
"description": "Why, for the moderation log.",
"maxLength": 3000,
"minLength": 1,
"type": "string"
},
"pet": {
"description": "The sandbox's pet name, like sly-fox-123456.",
"maxLength": 128,
"type": "string"
}
},
"required": [
"pet",
"note"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "garden.lexicon.admin.defs#moderationAction",
"type": "ref"
}
},
"type": "procedure"
}
},
"id": "garden.lexicon.admin.takeDownSandbox",
"lexicon": 1
}