{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Reset a stewarded arbiter's root policy.\n\nThe caller authenticates via serviceAuth (aud = arbiter-server DID,\nlxm = town.muni.arbiter.resetPolicy). Only the account designated in the\narbiter's `town.muni.arbiter.recovery/self` record (the recovery admin)\nmay reset the policy. The replacement Rego source is written to\n`town.muni.arbiter.policy.root/self` and the arbiter is re-onboarded.\n\nIf no recovery admin is set, this endpoint is unavailable (forbidden).",
"errors": [
{
"description": "The caller is not the designated recovery admin, or no recovery admin is set.",
"name": "ErrPermissionDenied"
},
{
"description": "The replacement policy failed to compile.",
"name": "ErrInvalidPolicy"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"arbiterDid": {
"description": "The stewarded account whose root policy to reset.",
"format": "did",
"type": "string"
},
"policy": {
"description": "The replacement Rego source text for the root policy.",
"type": "string"
}
},
"required": [
"arbiterDid",
"policy"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "town.muni.arbiter.resetPolicy",
"lexicon": 1
}
Metadata
- DID
-
did:plc:ulg2bzgrgs7ddjjlmhtegk3v
- CID
-
bafyreifwoocv5poc53iruo425ow26e5woj5x6giuh5buwzywaqj7prsx24
- Indexed At
- 2026-08-10 17:41 UTC
- AT-URI
-
at://did:plc:ulg2bzgrgs7ddjjlmhtegk3v/com.atproto.lexicon.schema/town.muni.arbiter.resetPolicy