# Disable Email Sending

DELETE /api/v2/projects/{projectId}/domains/{domainId}/email

Turns sending off and clears tracking state. If inbound still uses the same Resend registration, that registration is kept and only sending is disabled. Otherwise the domain is removed from Resend. Re-activating issues a new record set rather than reusing a stale one.

## Request

- projectId: string, path, required — ID of the project that owns the domain.
- domainId: string, path, required — ID of the domain.

## Response

- 200: Successful response
  - createdAt: string, required
  - emailReceivingStatus: INACTIVE | PENDING | ACTIVE | ERROR, required, default INACTIVE
  - emailStatus: INACTIVE | PENDING | ACTIVE | ERROR, required, default INACTIVE
  - id: string, required
  - name: string, required
  - projectId: string, required
  - senderReputation: integer, required, default 50
  - shortlinkEnabled: boolean, required
  - trackingVerificationStatus: PENDING | VALID | INVALID, required, default PENDING
  - updatedAt: string, required
  - vercelConfigured: boolean, required
  - vercelVerificationStatus: PENDING | VALID | INVALID, required, default PENDING
  - warmupDay: integer, required, default 0
  - warmupSentCount: integer, required, default 0
  - warmupStatus: PENDING | WARMING | COMPLETED, required, default PENDING
  - emailProvider: string
  - emailProviderDomainId: string
  - emailReceivingProviderId: string
  - emailVerificationRequestedAt: string
  - receivingVerificationRequestedAt: string
  - senderReputationComputedAt: string
  - shortlinkVerificationRequestedAt: string
  - trackingSubdomain: string
  - vercelVerificationDNS: object[]
    - domain: string, required
    - type: string, required
    - value: string, required
    - reason: string
  - …
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
