Delete the caller's account
Permanently deletes the signed-in account and everything it owns: weigh-ins, measurements, meals, food items, photos, workouts, targets, agent conversations and memories, reminders, API keys, linked phone numbers, sessions, and the sign-in itself. A Stripe subscription is cancelled. An App Store subscription has to be cancelled in the Apple ID settings. Requires a signed-in session; API keys and the messaging agent cannot call it. This cannot be undone.
/api/account__Secure-better-auth.session_tokenAPI key · cookierequiredBetter Auth session. Signing in (Google or email magic link) sets an HttpOnly session cookie that scopes every request to that account. The web app and CLI use this; agents use the OAuth 2.1 flow of the MCP server.
AuthorizationBearer token · headerrequiredPersonal API key sent as Authorization: Bearer skcal_…. Create and scope keys in the app under your profile → API keys. Keys default to full access; a scoped key is limited to its granted resource:action permissions and cannot manage other keys.
The account and all of its data were deleted.
okbooleanrequiredAlways true.
No signed-in session.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.
Called with an API key or by the messaging agent, which cannot delete accounts.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.
Stripe or the iMessage provider refused the cleanup. The account's data was not deleted; retry.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.
The account has a Stripe customer but billing is not configured. The account's data was not deleted.
errorstringrequiredHuman-readable failure reason.
detailstringOptional extra context, present on upstream failures.