---
title: "Delete user account"
method: DELETE
path: "/users/account"
tags: ["users"]
---

# Delete user account

`DELETE /users/account`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/users/account`
- Auth: HTTP bearer

Permanently deletes the current user account. Personal data is erased; expenses shared with other members stay in their groups under an anonymous "Deleted user". Web subscriptions are cancelled; App Store / Google Play subscriptions are not.

## Request body

- DeleteAccountRequestDto
  - `appleAuthorizationCode` string: A fresh Sign in with Apple authorization code (native iOS), so the app can revoke its Apple tokens along with the account

## Other responses

- `400`: Bad Request - Invalid input or validation failed
- `401`: Unauthorized - Authentication required or invalid token
- `403`: Forbidden - Insufficient permissions to access this resource
- `404`: Not Found - The requested resource does not exist
- `500`: Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/spliteo/apis/spliteo-api.md) · [All operations](https://skmtc.dev/spliteo/apis/spliteo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spliteo/apis/spliteo-api/revisions/bd9b84f4e407?raw)
