cURL
curl --request DELETE \ --url https://app.uselettr.com/api/domains/{domain} \ --header 'Authorization: <api-key>'
204
Delete a sending domain. This removes the domain from both SparkPost and the Lettr system. The domain will no longer be available for sending emails.
API key for authentication. Format: Bearer {api_key}
Bearer {api_key}
The domain name to delete
"example.com"
Domain deleted successfully