provider IP Access Management DELETE /access_settings/whitelist/{rule_id}
@utdk/sendgrid /access_settings/whitelist/{rule_id}
Remove a specific IP from the allowed list
**This endpoint allows you to remove a specific IP address from your list of allowed addresses.** When removing a specific IP address from your list, you must include the ID in your call. You can retrieve the IDs associated with your allowed IP addresses using the "Retrieve a list of currently allowed IPs" endpoint.
rule_id path required
The ID of the allowed IP address that you want to retrieve.
string
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
deleteAccessSettingsWhitelistRuleId
DELETE/access_settings/whitelist/{rule_id}
**This endpoint allows you to remove a specific IP address from your list of allowed addresses.** When removing a specific IP address from your list, you must include the ID in your call. You can retrieve the IDs associated with your allowed IP addresses using the "Retrieve a list of currently allowed IPs" endpoint.

Parameters

required

The ID of the allowed IP address that you want to retrieve.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.deleteAccessSettingsWhitelistRuleId({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})