Skip to main content
PUT
/
account
/
ippool
/
{ippool_id}
Update an Existing IPPool
curl --request PUT \
  --url https://api.sendpost.io/api/v1/account/ippool/{ippool_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Marketing Promotional",
  "ips": [
    {
      "publicIP": "52.12.10.12"
    },
    {
      "publicIP": "52.10.12.17"
    },
    {
      "publicIP": "35.11.10.5"
    }
  ]
}'
{
  "id": 756,
  "name": "Marketing Promotional",
  "created": 1567512491586102000,
  "ips": [
    {
      "id": 11429,
      "autoWarmupEnabled": true,
      "autoWarmupStage": 5,
      "publicIP": "52.12.10.12",
      "created": 1567512491588017700
    },
    {
      "id": 11530,
      "autoWarmupEnabled": true,
      "autoWarmupStage": 0,
      "publicIP": "52.10.12.17",
      "created": 1567512491568815400
    },
    {
      "id": 11531,
      "autoWarmupEnabled": true,
      "autoWarmupStage": 0,
      "publicIP": "35.11.10.5",
      "created": 1567512491568025300
    }
  ],
  "thirdPartySendingProviders": [],
  "routingStrategy": 0,
  "routingMetaData": "{}"
}

Path Parameters

ippool_id
integer
required

The ID of the IPPool to update

Example:

756

Body

application/json
name
string
Example:

"Marketing Promotional"

ips
object[]
Example:
[
{ "publicIP": "52.12.10.12" },
{ "publicIP": "52.10.12.17" },
{ "publicIP": "35.11.10.5" }
]
routingStrategy
integer
Example:

0

routingMetaData
string
Example:

"{}"

Response

The updated IPPool details

id
integer
Example:

746

name
string
Example:

"Transactional"

created
integer
Example:

1597511124804000

ips
object[]
thirdPartySendingProviders
object[]
routingStrategy
integer
Example:

0

routingMetaData
string
Example:

"{}"

autoWarmupEnabled
boolean
Example:

false

infraMonitor
boolean
Example:

true

ipDomainWarmupStatus
string | null
Example:

null

shouldOverflow
boolean

Indicates whether the IP should overflow, once email capacity of the IP Pool has been reached, should we send remaining emails over shared IP or not

Example:

true

overflowPoolName
string

The name of the overflow pool

Example:

"Transactional"

warmupInterval
integer

The interval for the warmup

Example:

60

I