---
title: "Remove the email and the password from the account"
method: DELETE
path: "/api/v1/me/email"
tags: ["Account"]
---

# Remove the email and the password from the account

`DELETE /api/v1/me/email`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/me/email`
- Auth: HTTP bearer

Answers 409 with code last_method when the account has no phone number to sign in with and 403 with code reauth_required when the sign-in is older than 15 minutes. Other sessions of the account are signed out.

## Response `200`

OK

- UserBody
  - `user` AccountUserBody, required
    - `created_at` string, date-time, required
    - `email` string, nullable, required: Null for accounts created with a phone number
    - `email_verified` boolean, required: True once the email was confirmed with a code or a sign-in link
    - `has_password` boolean, required
    - `id` integer, required
    - `is_admin` boolean, required
    - `locale` string, required
    - `name` string, required: Empty until the person enters a name
    - `phone` string, nullable, required: E.164 number the account signs in with, null for email accounts
    - `public_id` string, uuid, required

## Other responses

- `403`: Forbidden
- `409`: Conflict
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
