Delete Domain
Permanently removes the domain from the project. Returns 404 if it does not exist. Cannot be undone.
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the domain.
ID of the domain.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/projects/string/domains/string"{ "id": "string", "createdAt": "string", "updatedAt": "string", "emailStatus": "INACTIVE", "emailProvider": "string", "emailProviderDomainId": "string", "emailReceivingStatus": "INACTIVE", "emailReceivingProviderId": "string", "trackingSubdomain": "string", "trackingVerificationStatus": "PENDING", "shortlinkEnabled": true, "vercelConfigured": true, "vercelVerificationStatus": "PENDING", "vercelVerificationError": "string", "vercelVerificationDNS": [ { "domain": "string", "reason": "string", "type": "string", "value": "string" } ], "emailVerificationRequestedAt": "string", "receivingVerificationRequestedAt": "string", "shortlinkVerificationRequestedAt": "string", "senderReputationComputedAt": "string", "warmupStatus": "PENDING", "warmupStartedAt": "string", "warmupWindowStartedAt": "string", "projectId": "string", "name": "string", "senderReputation": 50, "warmupDay": 0, "warmupSentCount": 0}Update Domain
Updates client-writable domain fields. Only the keys present in changes are written. Status, provider, DNS, verification, reputation, warmup, and the tracking subdomain are ignored even if sent. Do not use this to mark a domain verified or to turn sending on. Call Activate Email Sending, Activate Email Receiving, or Enable Shortlink, then Verify Email DNS, Verify Email Receiving DNS, or Verify Shortlink. DNS records are on Get Domain.
Activate Email Sending
Registers the domain with Resend and turns on open/click tracking through trackingSubdomain, defaulting to links. Does not start verification and does not return the record set. Read DNS from Get Domain (emailConfig.records), add those records, then call Verify Email DNS. Sets sending status to PENDING.