Schedule the requesting viewer's account for deletion. Soft-deletes the profile and cascades soft-delete on every post, reply and like owned by the viewer in a single transaction. The viewer can log back in within 30 days and call restoreAccount to undo. After 30 days the account is hard-deleted irreversibly and the content is anonymised. See ADR-009 for the full retention lifecycle.
Parameters
Output
application/jsonErrors
AlreadyDeleted
The viewer's profile is already in the soft-deleted state. Call restoreAccount first if the intent was to extend the window, or wait for the 30-day hard-delete. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"errors": [
{
"name": "AlreadyDeleted",
"description": "The viewer's profile is already in the soft-deleted state. Call restoreAccount first if the intent was to extend the window, or wait for the 30-day hard-delete."
}
],
"output": {
"schema": {
"type": "object",
"properties": {}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"viewer"
],
"properties": {
"viewer": {
"type": "string",
"format": "did",
"description": "DID of the requesting viewer whose account is being deleted. Must match the authenticated principal."
}
}
},
"description": "Schedule the requesting viewer's account for deletion. Soft-deletes the profile and cascades soft-delete on every post, reply and like owned by the viewer in a single transaction. The viewer can log back in within 30 days and call restoreAccount to undo. After 30 days the account is hard-deleted irreversibly and the content is anonymised. See ADR-009 for the full retention lifecycle."
}