app.didpic.admin.revokeRole
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Revoke a role from an actor. Administrator-only. CANNOT revoke administrator from self or from env-pinned admins (those must be removed from ADMIN_DIDS + redeploy).",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"role": {
"enum": [
"moderator",
"administrator"
],
"type": "string"
}
},
"required": [
"did",
"role"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.admin.revokeRole",
"lexicon": 1
}
Metadata
- DID
-
did:plc:an2jtp4jgkkbtmwfzhpbxawd - CID
-
bafyreicvillpmjpjuuw2332mrorcmyutsm2lavndjp32lp6wlqokvqrqwe - Indexed At
- 2026-06-06 04:07 UTC
- AT-URI
-
at://did:plc:an2jtp4jgkkbtmwfzhpbxawd/com.atproto.lexicon.schema/app.didpic.admin.revokeRole
Version History (2 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.chive.admin.revokeRole procedure
Revoke a role from a user
-
app.didpic.admin.grantRole procedure
Grant a role.
-
pub.chive.governance.revokeRole procedure
Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.
-
zone.stratos.admin.removeAdmin procedure
Revoke admin access from a DID. Config-provided admins cannot be revoked here, and an admin cannot revoke their own access.
-
app.tempomusic.staff.revokeStaffRole procedure
Mark a moderator row as revoked. The DID can no longer pass the moderator gate (latency = the moderator-cache TTL, default 30s). Requires the caller to have the `superAdmin` role. A super-admin cannot revoke themselves.…