For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete domain

Remove a domain from your account

delete
Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
domain_idintegerRequired

Domain ID

Example: 1
Responses
204

Domain successfully deleted

No content

delete/api/domains/{domain_id}
curl -X DELETE https://mailtrap.io/api/domains/{domain_id} \
  -H 'Authorization: Bearer YOUR_API_KEY'

No content

Last updated

Was this helpful?