provider Blocks API DELETE
/suppression/blocks/{email} @utdk/sendgrid
/suppression/blocks/{email} Delete a specific block
**This endpoint allows you to delete a specific email address from your blocks list.**
- email path required
- The email address of the specific block.
- string
- on-behalf-of header
- string
Try it
Authentication
Configure credentials for Email Activity (beta)
Code snippet
Updates live as you fill in the form above.
TypeScript
import sendgrid from '@utdk/sendgrid';
await sendgrid.deleteSuppressionBlocksEmail({
"on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})