pub.chive.admin.revokeRole
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Revoke a role from a user",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"description": "Target user DID",
"format": "did",
"type": "string"
},
"role": {
"description": "Role to revoke",
"knownValues": [
"admin",
"moderator",
"graph-editor",
"author",
"reader",
"alpha-tester",
"premium"
],
"type": "string"
}
},
"required": [
"did",
"role"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"success": {
"description": "Whether the role was revoked",
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.admin.revokeRole",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:egjghlwgts2hlcer2txilxeh - CID
-
bafyreickz5iyna5x3okp6cjv665fcjmuivspegyxgejl22dn5ufa3h2hky - Indexed At
- 2026-06-18 13:14 UTC
- AT-URI
-
at://did:plc:egjghlwgts2hlcer2txilxeh/com.atproto.lexicon.schema/pub.chive.admin.revokeRole
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.chive.governance.revokeRole procedure
Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.
-
app.didpic.admin.revokeRole procedure
Revoke a role.
-
pub.chive.admin.assignRole procedure
Assign a role to a user
-
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.
-
com.getorbyt.community.deleteRole procedure
Deletes a role the Community defined, or, for the key moderator, puts the built-in moderator role back to its default permissions. A role someone holds cannot be deleted; move them to another role first. Only an adminis…