Skip to content

Clear all complaints

Request

Clears all email addresses with complaints from the domain. Delivery to the deleted email addresses will longer be suppressed.

Security
basicAuth
Path
domain_namestringrequired

Domain to delete complaints from

curl -i -X DELETE \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/{domain_name}/complaints'

Responses

A 200 response

Bodyapplication/json
messagestringrequired

Response message

Response
{ "message": "Complaint addresses for this domain have been removed" }