{
"id": "pub.chive.admin.revokeRole",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"did",
"role"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "Target user DID"
},
"role": {
"type": "string",
"description": "Role to revoke",
"knownValues": [
"admin",
"moderator",
"graph-editor",
"author",
"reader",
"alpha-tester",
"premium"
]
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
},
{
"name": "InvalidRequest"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean",
"description": "Whether the role was revoked"
}
}
},
"encoding": "application/json"
},
"description": "Revoke a role from a user"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e
- CID
-
bafyreickz5iyna5x3okp6cjv665fcjmuivspegyxgejl22dn5ufa3h2hky
- Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.revokeRole