From
bafyreialo7rir7xlianfsey3guqzi3hwhnugoqjzsvqxyeunqcc6ntuwg4
indexed 2026-06-18 13:14 UTC
View this version
To
bafyreialo7rir7xlianfsey3guqzi3hwhnugoqjzsvqxyeunqcc6ntuwg4
indexed 2026-06-18 13:14 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"elevationResult": {55
"description": "Result of role operation",66
"properties": {77
"message": {88
"description": "Human-readable result message",99
"type": "string"1010
},1111
"requestId": {1212
"description": "Request ID (if applicable)",1313
"type": "string"1414
},1515
"success": {1616
"description": "Whether the operation succeeded",1717
"type": "boolean"1818
}1919
},2020
"required": [2121
"success",2222
"message"2323
],2424
"type": "object"2525
},2626
"main": {2727
"description": "Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.",2828
"errors": [2929
{3030
"name": "AuthenticationRequired"3131
},3232
{3333
"name": "Unauthorized"3434
},3535
{3636
"name": "InvalidRequest"3737
}3838
],3939
"input": {4040
"encoding": "application/json",4141
"schema": {4242
"properties": {4343
"did": {4444
"description": "DID of the user whose role to revoke",4545
"format": "did",4646
"type": "string"4747
},4848
"reason": {4949
"description": "Reason for revoking the role",5050
"maxLength": 1000,5151
"minLength": 10,5252
"type": "string"5353
}5454
},5555
"required": [5656
"did",5757
"reason"5858
],5959
"type": "object"6060
}6161
},6262
"output": {6363
"encoding": "application/json",6464
"schema": {6565
"ref": "#elevationResult",6666
"type": "ref"6767
}6868
},6969
"type": "procedure"7070
}7171
},7272
"id": "pub.chive.governance.revokeRole",7373
"lexicon": 1,7474
"revision": 17575
}