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

Response

200
application/json

The updated IPPool details

The response is of type object.