Delete domain
DELETE /api/domains/{domain}
DELETE
/api/domains/{domain}
Remove a domain from the authenticated user’s account
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” domain
required
string
Example
example.comDomain name that must be owned by the authenticated user. The domain must be verified and properly configured for email sending.
Responses
Section titled “ Responses ”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 requiredDomain not found
object
success
boolean
message
string
Example
Domain not foundToo Many Requests - Rate limit exceeded. Retry after the specified time.
object
success
boolean
message
string
Example
Too many attempts. Please try again later.Headers
Section titled “Headers ” 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