Skip to content

Add an IP to a DIPP

Request

The account must have 'DIPPs' feature enabled.

It is not allowed to modify a DIPP inherited from the parent account.

The IP must be a dedicated one, belong to the account and not belong to any other DIPP.

All domains linked to the DIPP will be updated so that their IPs include the newly added address. If the DIPP is delegated to subaccounts, those will also be updated.

The processing of affected domains and subaccounts happens asynchronously after the endpoint returns a response.

Security
basicAuth
Path
ipstringrequired

IP to add to the DIPP

pool_idstringrequired

Id of the DIPP to update

curl -i -X PUT \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/ip_pools/{pool_id}/ips/{ip}'

Responses

A 200 response

Bodyapplication/json
string(string)
Response
{ "message": "started" }