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

# Delete inbox

> Permanently delete an inbox and stop delivery to its address. This action cannot be undone.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/inboxes/{id}
openapi: 3.0.3
info:
  title: OpenMail API
  description: >-
    Email infrastructure API for AI agents. Create inboxes, send and receive
    email, and get real-time notifications via webhooks.
  version: 1.0.0
  license:
    name: Proprietary
servers:
  - url: https://api.openmail.sh
security:
  - bearerAuth: []
tags:
  - name: pods
    description: Isolated sub-accounts for your end users or tenants
  - name: inboxes
    description: Email inboxes and their webhook configuration
  - name: messages
    description: Sending and listing messages
  - name: threads
    description: Conversation threads and read status
  - name: attachments
    description: Downloading and extracting text from attachments
paths:
  /v1/inboxes/{id}:
    delete:
      tags:
        - inboxes
      summary: Delete inbox
      description: >-
        Permanently delete an inbox and stop delivery to its address. This
        action cannot be undone.
      operationId: deleteInbox
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        '204':
          description: Inbox deleted
        '403':
          description: >-
            The authenticating key is inbox-scoped (read + send only) and cannot
            delete the inbox
          content:
            application/json:
              schema:
                description: >-
                  The authenticating key is inbox-scoped (read + send only) and
                  cannot delete the inbox
                allOf:
                  - $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                description: Not found
                allOf:
                  - $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      additionalProperties: true
      properties:
        error:
          type: string
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````