---
search:
  tags:
    - administration
    - DELETE
seo:
  description: >-
    Soft deletes an email account from the workspace. The… Reference for the
    DELETE /administration/email-accounts/{id} endpoint in the Leadtime Public
    API API.
sidebar:
  badge: DELETE
  label: Delete email account
title: Delete email account
type: openapi-operation
---
Soft deletes an email account from the workspace. The account is marked as deleted but not permanently removed from the database.

**Supported Account Types:**
- Works for all account types (IMAP, Google, Office365)
- Unlike create/update operations, deletion is allowed for OAuth accounts via API

**Deletion Process:**
- Account is marked with a deletion timestamp
- Account will no longer appear in listing endpoints
- Associated data may be retained for audit purposes
- Account cannot be used for sending/receiving emails after deletion

**Response:**
- Returns a success confirmation
- Returns 404 if account does not exist

<Operation source="api-reference" id="emailaccountscontroller-deleteemailaccount" />
