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": "{}"
}
Update the details of an existing IPPool by its ID.
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": "{}"
}
The ID of the IPPool to update
756
The updated IPPool details
The response is of type object
.