Lift an account suspension: deletes the current state row (history stays in the audit log) and instantly readmits the account's content on the public surface. Also accepts a LAPSED suspension (removes the stale row). Cannot lift a ban. Requires the `moderator` role. Writes an `accountUnsuspended` audit row.
Input
application/jsondid
stringdid
Required
A decentralized identifier (DID).
reason
string
Optional
No description available.
maxLength: 2000 bytesOutput
application/jsonauditEntryId
integer
Required
No description available.
Errors
Forbidden
The caller is not an active moderator. AccountNotSuspended
No suspension exists for this account. AccountBanned
The account is banned — a ban cannot be lifted. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Lift an account suspension: deletes the current state row (history stays in the audit log) and instantly readmits the account's content on the public surface. Also accepts a LAPSED suspension (removes the stale row). Cannot lift a ban. Requires the `moderator` role. Writes an `accountUnsuspended` audit row.",
"errors": [
{
"description": "The caller is not an active moderator.",
"name": "Forbidden"
},
{
"description": "No suspension exists for this account.",
"name": "AccountNotSuspended"
},
{
"description": "The account is banned — a ban cannot be lifted.",
"name": "AccountBanned"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"reason": {
"maxLength": 2000,
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"auditEntryId": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"auditEntryId"
],
"type": "object"
}
},
"type": "procedure"
}