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

# Delete an email domain

> Removes the domain. You can then delete its four DNS records.



## OpenAPI

````yaml /openapi.yaml delete /email_domains/{id}
openapi: 3.1.0
info:
  title: _æfer API
  description: >
    The _æfer API lets you build a meetings feature into your product: users
    connect

    a calendar, a notetaker joins their calls, and you get the transcript,
    speakers and

    summary of each meeting.
  version: '2026-11-13'
  contact:
    name: _æfer Developer Support
    email: support@aefer.ai
servers:
  - url: https://api.aefer.ai/api/v1
security:
  - apiKeyAuth: []
tags:
  - name: Agent sessions
    description: Exchange the code a user hands their AI agent for API credentials.
  - name: Uploads
    description: Get signed URLs to upload media files directly to _æfer storage.
  - name: Transcribe
    description: Create transcription orders from media URLs.
  - name: Subtitle
    description: Create subtitling orders from media URLs.
  - name: Translate
    description: Create translation orders from existing conversations.
  - name: Orders
    description: Retrieve and confirm the orders created by the service endpoints.
  - name: Conversations
    description: List, retrieve, update, and delete conversations.
  - name: Exports
    description: Export conversations to text, subtitle, video-editing, and data formats.
  - name: Bots
    description: Send a notetaker bot to Zoom, Google Meet, or Microsoft Teams calls.
  - name: Glossaries
    description: List glossaries to apply custom terminology to orders.
  - name: Style guides
    description: List style guides to apply formatting preferences to orders.
  - name: Workspaces
    description: List the workspaces the authenticated user belongs to.
  - name: Organization memberships
    description: Manage which users belong to a workspace.
  - name: Members
    description: A partner's end users inside a workspace (_æfer).
  - name: Meetings
    description: >-
      Every meeting of a workspace, from calendars and bots, with its results
      (_æfer).
  - name: Calendar connections
    description: >-
      Members' Google and Microsoft calendars, connected through a hosted
      consent link and synced by _æfer.
  - name: Calendar events
    description: Calendar events a partner pushes from its own calendar sync (_æfer).
  - name: Settings
    description: >-
      What gets recorded and how, as values you assign to a workspace, a member,
      a meeting category or one meeting (_æfer).
  - name: Settings assignments
    description: Where settings apply (_æfer).
  - name: Files
    description: Images uploaded to a workspace, to use in a brand kit (_æfer).
  - name: Email domains
    description: >-
      The domains an account sends summary emails from, each verified with three
      CNAME records and an ownership TXT record (_æfer).
  - name: Webhook endpoints
    description: Register the receivers of a workspace's webhooks, and test them.
  - name: Webhook events
    description: >-
      The webhooks sent to a workspace's endpoints, how each delivery went, and
      redelivery.
  - name: People
    description: >-
      Language Services. People found in your transcripts (Memory API, private
      beta).
  - name: Companies
    description: >-
      Language Services. Companies found in your transcripts (Memory API,
      private beta).
paths:
  /email_domains/{id}:
    parameters:
      - $ref: '#/components/parameters/EmailDomainId'
    delete:
      tags:
        - Email domains
      summary: Delete an email domain
      description: Removes the domain. You can then delete its four DNS records.
      operationId: deleteEmailDomain
      responses:
        '204':
          description: Deleted.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/AccountKeyRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: >-
            A brand kit sends from this domain (`domain_in_use`); the message
            names the kits. Change their `email.sender.address` first. Also
            `registration_in_progress` while the domain is being checked; try
            again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
        '502':
          description: >-
            The email provider did not answer (`email_provider_error`). Nothing
            is deleted; try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
components:
  parameters:
    EmailDomainId:
      name: id
      in: path
      required: true
      description: Email domain ID, beginning with `edm_`. Treat it as an opaque string.
      schema:
        type: string
        example: edm_01m7a4k2r9s8x7c2dvq3m5n6p4
  responses:
    Unauthorized:
      description: >-
        Your API key is missing (`missing_api_key`) or wrong
        (`invalid_api_key`), or its account is suspended (`account_suspended`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Errors'
    AccountKeyRequired:
      description: >-
        A personal key was used; email domains belong to an account
        (`account_key_required`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Errors'
    NotFound:
      description: >-
        The specified resource could not be found, or this key cannot see it
        (`not_found`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Errors'
  schemas:
    Errors:
      type: object
      required:
        - errors
      description: >
        Every error the API returns, `401` and `429` included. See
        [Errors](/api-reference/errors).
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
        retry_in_seconds:
          type: integer
          description: >-
            On `429`, how long to wait before retrying. Also sent as
            `Retry-After`.
      example:
        errors:
          - code: invalid
            field: recording.methods.bot.mode
            message: 'must be one of: audio_and_video, audio_only, inherit'
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: >-
            A stable snake_case word, safe to branch on. See
            [Errors](/api-reference/errors) for the list.
        message:
          type: string
          description: A sentence for humans. It may change; do not parse it.
        field:
          type: string
          description: >-
            The dotted path to the request field at fault, such as
            `recording.methods.bot.mode`. Present only when one field is.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Your API key, sent bare. See
        [Authentication](/api-reference/authentication).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.