> ## Documentation Index
> Fetch the complete documentation index at: https://docs.puffle.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Inbox

> Tear down an inbox across backing services and the database. Irreversible.

**CLI:**

```bash theme={null}
puffle email account delete --id <id>
```

## Overview

Disables warmup, deletes the warmup registration, deletes the backing inbox, and removes the DB row for a single inbox. External cleanup steps are best-effort; failures are logged but do not block the DB delete.

<Note>
  This operation shares the URL path `/api/email/accounts/{id}` with the update verb. See [Update inbox](/api-reference/senders/update-email-account) to modify the signature without tearing the account down.
</Note>

## AI agent notes

<Note>
  **Deletion is irreversible.** The backing inbox service may block creating a new inbox with the same `<username>@<domain>` after deletion. If an agent is deleting an inbox on behalf of a user, confirm with the human first — the only recovery path is picking a different local part.

  **External cleanup is best-effort.** Warmup disable/delete and backing inbox delete are best-effort; failures are logged but do not block the DB delete. The only way this endpoint returns 500 is if the final DB delete itself fails.
</Note>


## OpenAPI

````yaml delete /api/email/accounts/{id}
openapi: 3.0.3
info:
  title: Puffle API
  version: 1.0.0
  description: >-
    HTTP API for the Puffle GTM platform - Feed and Lead Finder search
    preparation, campaign-backed Outbound execution, Puffle Agent runs, sender
    management, and Unibox reply workflows. Designed for operation by both
    humans and autonomous AI agents. Agents should start at the [Agent
    Playbook](/guides/agent-playbook) which prescribes a workspace-context check
    (`GET /api/context`) and core user journeys with exact call ordering.
  contact:
    name: Puffle Support
    url: https://puffle.ai
servers:
  - url: https://app.puffle.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Campaigns
    description: >-
      Campaign-backed Outbound execution. These endpoints manage draft,
      launching, active, paused, and completed Outbound runs with sequence
      nodes, contacts, and sender accounts.
  - name: Accounts
    description: Signed-in user account, settings, and workspace context endpoints.
  - name: Billing
    description: Billing customer portal and account billing endpoints.
  - name: Senders
    description: >-
      Connected sender accounts, email inboxes, sending domains, DNS
      verification, warmup, and sender capacity.
  - name: Socials
    description: >-
      Read connected LinkedIn and X accounts, review current and archived posts,
      and reconcile publication status. Creating, editing, scheduling,
      publishing, OAuth connection, analytics, and mentions remain
      dashboard-managed workflows and are not part of the public Bearer-token
      API.
paths:
  /api/email/accounts/{id}:
    delete:
      tags:
        - Senders
      summary: Delete Inbox
      description: >-
        Tear down an email sender account across backing systems: disable
        warmup, delete the warmup registration, delete the backing inbox, and
        remove the DB row. External cleanup calls are best-effort; only a
        failure on the final DB delete returns 500. **Irreversible.** The
        backing inbox service may block re-creating an inbox with the same local
        part after deletion, so agents should confirm with the human before
        calling.
      operationId: deleteEmailAccount
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            description: Email account (`accounts.id`) UUID.
      responses:
        '200':
          description: >-
            Account deleted. External resources cleaned up best-effort; DB row
            guaranteed removed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                required:
                  - success
                additionalProperties: false
        '401':
          description: Missing or invalid Bearer token.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Account doesn't exist or isn't owned by the caller.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: >-
            DB delete failed. External resources may have been torn down already
            — retry is safe (all cleanup steps are idempotent).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pk_live_...

````