---
title: "Delete the signed-in mobile account"
method: DELETE
path: "/api/v3/auth/mobile/account"
tags: ["Mobile Authentication"]
---

# Delete the signed-in mobile account

`DELETE /api/v3/auth/mobile/account`

## Request

- Base URL: `https://api.endless.health` (the document declares no server; this is the origin it was published from)
- URL: `https://api.endless.health/api/v3/auth/mobile/account`
- Auth: none declared

For Apple-linked accounts, requires a fresh authorization code in the body, exchanges and revokes Apple tokens, then removes the Firebase login, anonymizes the Core user and PHData tombstones, and writes an audit log. Owned rows and lab results are not deleted.

## Request body

- MobileDeleteAccountRequestSchema: Optional Apple re-auth payload for Sign in with Apple account deletion. Required when the Firebase user has provider ``apple.com``. Non-Apple accounts may omit both fields.
  - `apple_authorization_code` string, nullable
  - `platform` 'ios' | 'android', nullable

## Response `200`

Successful Response

- MobileDeleteAccountResponseSchema: Account login and PII were removed. Lab records stay with the lab.
  - `deleted` boolean

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/endless/apis/eh-core-v3-api-prod.md) - [All operations](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/revisions/9046a1eb2d0c?raw)
