Skip to content

Commit

Permalink
Add method to delete bounces
Browse files Browse the repository at this point in the history
  • Loading branch information
mjclemente committed Mar 17, 2021
1 parent f51c6a6 commit 18061e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sendgrid.cfc
Expand Up @@ -1101,6 +1101,14 @@ component output="false" displayname="SendGrid.cfc" {
return apiCall( 'GET', "/suppression/bounces/#email#" );
}

/**
* @docs https://sendgrid.api-docs.io/v3.0/bounces-api/delete-a-bounce
* @hint Remove an email address from your block list
*/
public struct function deleteBounce( required string email ) {
return apiCall( 'DELETE', "/suppression/bounces/#email#" );
}

/**
* Campaigns API
* https://sendgrid.com/docs/API_Reference/Web_API_v3/Marketing_Campaigns/campaigns.html
Expand Down

0 comments on commit 18061e0

Please sign in to comment.