# Remove catch all emails

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/domains/catch-all:
    delete:
      summary: Remove catch all emails
      deprecated: false
      description: >-
        Remove catch-all email functionality for your domain, stopping the
        forwarding of all emails sent to any address at the domain.
      tags:
        - domains
      parameters:
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: x-workspace-key
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: ' x-service-provider'
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                domainIds:
                  type: array
                  items:
                    type: string
                  description: Array of target domain ids
                contains:
                  type: string
                  description: >-
                    Search filter for the target domains with the specified
                    substring
                tagIds:
                  type: array
                  items:
                    type: string
                  description: Array of tag ids of the target domains.
                status:
                  type: array
                  items:
                    type: string
                  description: Array of status of the target domains.
              required:
                - domainIds
                - contains
                - tagIds
                - status
              x-apidog-orders:
                - domainIds
                - contains
                - tagIds
                - status
            example:
              domainIds:
                - DA84A348-C526-4563-AFCD-6DDD71C3FE69
              contains: ''
              tagIds: []
              status: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                status: 200
                message: Catch all email will be removed soon
                data: null
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: domains
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-13521079-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
