Skip to content

Add multiple IPs to the DIPP

Request

The account must have 'DIPPs' feature enabled.

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

All IPs must be dedicated ones, 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 addresses. 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
pool_idstringrequired

Id of the DIPP to update

Bodyapplication/jsonrequired
ipsArray of stringsrequired

IPs to add to the DIPP

curl -i -X POST \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/ip_pools/{pool_id}/ips.json' \
  -H 'Content-Type: application/json' \
  -d '{
    "ips": [
      "1.2.3.4",
      "5.6.7.8"
    ]
  }'

Responses

A 200 response

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