Delete domain
Remove a domain from your account
delete
Authorizations
Api-TokenstringRequired
API token in Api-Token header
Path parameters
domain_idintegerRequiredExample:
Domain ID
1Responses
204
Domain successfully deleted
No content
401
Returns unauthorized error message. Check your credentials.
application/json
403
Returns forbidden error message. Check your permissions.
application/json
404
Resource not found
application/json
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?

