docs
docs copied to clipboard
Update 'Delete a specific spam report' endpoint response
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.
- If the e-mail address is not in the Global Suppression list, the DELETE endpoint returns a 204.
- 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 ,
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