---
title: "Delete current user account and Firebase user (Authorized)"
method: DELETE
path: "/api/users/delete-with-firebase"
tags: ["Users"]
---

# Delete current user account and Firebase user (Authorized)

`DELETE /api/users/delete-with-firebase`

## Request

- Base URL: `https://api.hiyd.ai`
- URL: `https://api.hiyd.ai/api/users/delete-with-firebase`
- Auth: HTTP bearer

## Request body

- object
  - `email` string, email: Email to delete (must match authenticated user's email)

## Response `200`

User and Firebase account deleted successfully

- object
  - `message` string
  - `deleted_user` object

## Other responses

- `401`: Unauthorized - Token required
- `403`: Forbidden - Email does not match authenticated user
- `404`: User not found
- `500`: Server error

---

[API](https://skmtc.dev/hiyd/apis/hiyd-backend-api.md) - [All operations](https://skmtc.dev/hiyd/apis/hiyd-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hiyd/apis/hiyd-backend-api/revisions/23598d347e1b?raw)
