IP pools allow you to group your dedicated SendGrid IP addresses. For example, you could create separate one pool for your transactional email and another for your marketing email. When sending marketing emails, specify that you want to use the marketing IP pool. This allows you to maintain separate reputations for your different email traffic.
A single IP address or a range of IP addresses may be dedicated to an account in order to send email for multiple domains. The reputation of this IP is determined by the aggregate performance of all email traffic sent from it.
IP pools can only be used with IP addresses for which you've set up a reverse DNS record.
If an IP pool is not specified for an email, it will use any IP available, including pooled addresses.
Each user can create up to 100 different IP pools.
This endpoint allows you to update the name of an IP pool.
Bearer <<YOUR_API_KEY_HERE>>
The name of the IP pool that you want to retrieve the IP addresses for.
application/json
Optional
The new name for your IP pool.
64
The name of the IP pool.
1const client = require("@sendgrid/client");2client.setApiKey(process.env.SENDGRID_API_KEY);34const pool_name = "per";5const data = {6name: "new_pool_name",7};89const request = {10url: `/v3/ips/pools/${pool_name}`,11method: "PUT",12body: data,13};1415client16.request(request)17.then(([response, body]) => {18console.log(response.statusCode);19console.log(response.body);20})21.catch((error) => {22console.error(error);23});