Skip to content

Remove an IP from all account domains

Request

The IP must belong to the account.

If the alternative parameter is present, it is used to replace the removed ip on all domains.

Security
basicAuth
Path
ipstringrequired

The IP to Remove

Query
alternativestringrequired

An IP that will replace the removed IP on all domains

curl -i -X DELETE \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/ips/{ip}/domains?alternative=string'

Responses

A 200 response

Bodyapplication/json
messagestringrequired
reference_idstringrequired
Response
{ "message": "started", "reference_id": "61926093321d1cba88f3b95b" }