Sometimes, you want to give API access only to a specific IP address or a range of addresses. To do this, you first enable restrictions, then specify the IP addresses that are allowed to use the APIs.
Admin Permissions Required
Go to Admin and click Web Services.
In the IP Restrictions area, click Edit, or click Edit IP Restrictions in the upper left.
Check the Enable IP Restrictions box and enter the IP addresses you want to allowlist.
You can enter a single IP address or a range of them, or use a wildcard.
Click Add to open additional fields to enter more IP addresses.