Skip to main content

Account API

Account deletion is a dashboard-only surface. Both endpoints require a browser session cookie; API keys return 401 unauthorized.

GET /api/v1/account/delete-check​

Returns whether the signed-in user can delete their account.

Success response​

{ "canDelete": true }

Deletion can be blocked by active billing or by owned Team workspaces that still have other active members:

{
"canDelete": false,
"reason": "active_plan"
}
{
"canDelete": false,
"reason": "team_workspace_with_members",
"workspaces": [
{ "id": "ws_123", "name": "Acme Docs", "memberCount": 4 }
]
}

DELETE /api/v1/account​

Deletes the signed-in user and their personal data. Owned workspaces and posts cascade with the account. Canceled billing history is retained with user and workspace references nulled for accounting records.

Success response​

Status 204 No Content.

Errors​

Statuserror or codeWhen
401unauthorizedNo valid session cookie
409active_planUser has an active Pro/Team subscription
409team_workspace_with_membersUser owns a Team workspace with other active members

The 409 body includes the same fields as GET /account/delete-check, with a top-level code equal to the blocking reason.