docs icon indicating copy to clipboard operation
docs copied to clipboard

Update 'Delete a specific spam report' endpoint response

Open jorgeribeiro opened this issue 6 years ago • 1 comments

This is a suggestion for the Delete a specific spam report endpoint.

Before sending a transactional e-mail, I request Delete a Global Suppression and Delete a specific spam report endpoints, to make sure the recipient gets the e-mail message in their inbox.

  1. If the e-mail address is not in the Global Suppression list, the DELETE endpoint returns a 204.
  2. If the e-mail address is not in the Spam Report list, the DELETE endpoint returns a 404.

My suggestion is to return a 204 if the e-mail address is not in the Spam Report list, the same way it does for the Global Suppression list.

jorgeribeiro avatar Jun 17 '20 08:06 jorgeribeiro

@jorgeribeiro ,

Thank you for the feedback. We appreciate you taking the time to pass it along. We will bring this up with our product teams.

Best,

Twilio SendGrid Docs Team

wadec9n avatar Jun 29 '20 17:06 wadec9n