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
{
"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.",
"errors": [
{
"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.",
"name": "AlreadyDeleted"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"parameters": {
"properties": {
"viewer": {
"description": "DID of the requesting viewer whose account is being deleted. Must match the authenticated principal.",
"format": "did",
"type": "string"
}
},
"required": [
"viewer"
],
"type": "params"
},
"type": "procedure"
}