API Reference

Me · Account Deletion

Ask to delete your own account.

1 endpoints· Auth: JWT
post/api/v1/console/me/account-deletion JWT

Delete my account

Body `{ "password": "…" }` — the account's current password.

200 `data.outcome = "deleted"`: the account is anonymised and disabled, every session and refresh token revoked, and the email free for a new account; the client signs out locally.

200 `data.outcome = "requested"`: the caller is the only active owner of their organisation; a pending request is recorded (nothing is revoked) and the restaurant account will be closed and personal data deleted within 30 days. A repeated call while pending returns the same `requestId` and `requestedAt`.

422 missing password (`errors.password`) or wrong password (`errors.password`, "The password is incorrect.", counted against the sign-in lockout); 429 the account is locked after five wrong passwords (15 minutes); 401 not signed in; 403 an API key or OAuth bearer.

Signed-in user only
API keys and OAuth tokens are refused (403). Do this in the dashboard.

Request body

application/json
{
  "password": "string"
}
password
string
The account's current password. Required.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/me/account-deletion" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "password": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu