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
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"did",
"reason"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "DID of the user whose role to revoke"
},
"reason": {
"type": "string",
"maxLength": 1000,
"minLength": 10,
"description": "Reason for revoking the role"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Unauthorized"
},
{
"name": "InvalidRequest"
}
],
"output": {
"schema": {
"ref": "#elevationResult",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Revoke a user's governance role. Only accessible to administrators. Also revokes any active delegation."
}