Skip to content

Delete domain

DELETE
/api/domains/{domain}

Remove a domain from the authenticated user’s account

domain
required
string
Example
example.com

Domain name that must be owned by the authenticated user. The domain must be verified and properly configured for email sending.

Domain deleted successfully

object
message

Human-readable success message confirming the domain deletion

string
Example
Domain deleted successfully.

Unauthorized

object
error

Error type indicating authentication failure

string
Example
Unauthorized
message

Human-readable error message explaining the authentication issue

string
Example
Authorization header is required

Domain not found

object
success
boolean
message
string
Example
Domain not found

Too Many Requests - Rate limit exceeded. Retry after the specified time.

object
success
boolean
message
string
Example
Too many attempts. Please try again later.
Retry-After
integer

Seconds until rate limit resets

X-RateLimit-Limit
integer

Maximum requests per minute

X-RateLimit-Remaining
integer

Remaining requests in current window