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
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"reason": {
"type": "string",
"maxLength": 2000
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "Forbidden",
"description": "The caller is not an active moderator."
},
{
"name": "AccountNotSuspended",
"description": "No suspension exists for this account."
},
{
"name": "AccountBanned",
"description": "The account is banned — a ban cannot be lifted."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"auditEntryId"
],
"properties": {
"auditEntryId": {
"type": "integer",
"minimum": 1
}
}
},
"encoding": "application/json"
},
"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."
}