provider Invalid Emails API DELETE /suppression/invalid_emails
@utdk/sendgrid /suppression/invalid_emails
Delete invalid emails
**This endpoint allows you to remove email addresses from your invalid email address list.** There are two options for deleting invalid email addresses: 1) You can delete all invalid email addresses by setting `delete_all` to true in the request body. 2) You can delete some invalid email addresses by specifying certain addresses in an array in the request body.
on-behalf-of header
string

Try it

Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deleteSuppressionInvalidEmails
DELETE/suppression/invalid_emails
**This endpoint allows you to remove email addresses from your invalid email address list.** There are two options for deleting invalid email addresses: 1) You can delete all invalid email addresses by setting `delete_all` to true in the request body. 2) You can delete some invalid email addresses by specifying certain addresses in an array in the request body.

Input

Indicates if you want to remove all email address from the invalid emails list.

The list of specific email addresses that you want to remove.

Enter a gateway URL above to enable sending.

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

TypeScript

import sendgrid from '@utdk/sendgrid';

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