---
title: "Remove an email address"
method: DELETE
path: "/v1/auth/emails/{emailId}"
tags: ["Account"]
---

# Remove an email address

`DELETE /v1/auth/emails/{emailId}`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/auth/emails/{emailId}`
- Auth: API key in cookie `__Host-better-auth.session_token`

Drops a verified address from the account. The primary address cannot be removed; make another one primary first. Needs a recent identity confirmation.

## Path parameters

- `emailId` string, required

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `emails` object[], required
      - `id` string, required
      - `email` string, required
      - `isPrimary` boolean, required
      - `verifiedAt` string, required
      - `verificationMethod` 'email_code' | 'oauth' | 'admin' | 'migration', required

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

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