- Delete scheduled and undelivered mail
Send an email
Send an email in MIME format
Retrieve a stored email
Resend an email
Get messages queue status
Delete scheduled and unde...
Deletes all scheduled and undelivered mail from the domain queue. This endpoint must be called on the same storage API host as the mail's generated storage URL. e.g. https://storage-us-east4.api.mailgun.net/v3/example.com/envelopes
The storage hosts are: storage-us-east4.api.mailgun.net, storage-us-west1.api.mailgun.net, and storage-europe-west1.api.mailgun.net.
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v3/{domain_name}/envelopes
- EU Mailgunhttps://api.eu.mailgun.net/v3/{domain_name}/envelopes
curl -i -X DELETE \
-u '<username>:<password>' \
'https://api.mailgun.net/v3/{domain_name}/envelopes'Response
{ "message": "done" }