Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.
Input
Encoding
application/jsondid
stringdid
Required
DID of the user whose role to revoke
reason
string
Required
Reason for revoking the role
maxLength: 1000 bytesminLength: 10 bytesOutput
Encoding
application/jsonSchema#elevationResult
Errors
AuthenticationRequired
Unauthorized
InvalidRequest
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Unauthorized"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"description": "DID of the user whose role to revoke",
"format": "did",
"type": "string"
},
"reason": {
"description": "Reason for revoking the role",
"maxLength": 1000,
"minLength": 10,
"type": "string"
}
},
"required": [
"did",
"reason"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "#elevationResult",
"type": "ref"
}
},
"type": "procedure"
}