Skip to content

Remove entry from allowlist

Request

Remove a single entry from the allowlist

Security
basicAuth
Path
domain_namestringrequired

Domain to delete the allowlist entry from

valuestringrequired

The address to remove

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

Responses

A 200 response

Bodyapplication/json
messagestringrequired

Response message

valuestringrequired

Domain or address

Response
{ "message": "Allowlist address/domain has been removed", "value": "example.com" }