LoguDocs
Open Logu

Me · requestAccountDeletion

Delete my account

POST /v1/account/deletion

Starts a 30-day grace: the account is disabled now (every session ends, phones and browsers stop receiving pushes, you stop getting asks in shared workspaces) and deleted for good at purgeAt unless you restore it by asking for a sign-in link at logu.dev (the link restores the account). Your personal workspace and everything in it go with the account; in shared workspaces your decisions and activity stay, with your name replaced by "Removed member". Needs a session started in the last 15 minutes and the account's email typed in email. Refused with conflict while you are the only Owner of a shared workspace that has other members (hint: transfer ownership or delete it) or a workspace to be deleted has a live Pro subscription (hint: cancel it first).

Who may call it
any signed-in human
Server
https://api.logu.dev

Request body#

Content type application/json (required).

FieldTypeRequiredNotes
emailstringrequired1–254 chars
{
  "email": "ana@example.com"
}

Example#

curl -s -X POST "https://api.logu.dev/v1/account/deletion" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"email":"ana@example.com"}'

Responses#

202

The request is recorded; the account is disabled.

{
  "requestedAt": "2026-10-12T14:03:11.000Z",
  "purgeAt": "2026-11-11T14:03:11.000Z",
  "graceDays": 30
}
Response fields
FieldTypeRequiredNotes
requestedAtstringrequireddate-time
purgeAtstringrequireddate-time
graceDaysintegerrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
400bad_requestThe request is malformed or a field is invalid (see issues).
400unknown_fieldThe body has a field the endpoint doesn't know (often a typo or snake_case).
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
409conflictThe resource isn't in a state that allows this: an ask that is no longer waiting (ask has its current state), an invitation no longer pending, the last Owner.
500internal_errorSomething went wrong on Logu's side.