- Remove an IP from the domain pool, unlink a DIPP or remove the domain pool
Remove an IP from the domain pool, unlink a DIPP or remove the domain pool
List dedicated IP pools of the account
Add a new DIPP to the account
Get DIPP details
Delete the DIPP
Edit DIPP
Get domains linked to DIPP
Add an IP to a DIPP
Remove an IP from a DIPP
Add multiple IPs to the DIPP
Delegate DIPP to Subaccount
Revoke DIPP from Subaccount
Remove an IP from the dom...
The behavior of the endpoint depends on the value of the ip parameter. It can be one of the following:
- a valid IP address: this IP address will be removed from the domain pool.
- string
all: the entire domain pool will be removed. As far as the system is concerned, such domain will no longer exist. - string
ip_pool: the DIPP which is currently linked to the domain will be unlinked.
Note that it's impossible to alter domain IPs if a DIPP is linked to the domain.
If the account is not eligible for shared IPs, additional rules apply:
- removing the last IP from the domain is not allowed;
- if all of the remaining dedicated IPs are on warmup, an extra IP might be added to the domain pool.
The account must have 'DIPPs' feature enabled.
Either ip or pool_id query parameter must be specified, but not both.
If the special value shared is used for the replacement IP, the account must be eligible for shared IPs. In this case the system will assign a shared IP as the replacement.
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v3/domains/{name}/pool/{ip}
- EU Mailgunhttps://api.eu.mailgun.net/v3/domains/{name}/pool/{ip}
curl -i -X DELETE \
-u '<username>:<password>' \
'https://api.mailgun.net/v3/domains/{name}/pool/{ip}?ip=string&pool_id=string'Response
{ "message": "success" }