Skip to content

feat(routes-b): implement DELETE /api/routes-b/email-suppressions/[id] - #1371

Merged
davedumto merged 1 commit into
davedumto:mainfrom
QueenColly:feature/1133-delete-email-suppression
Sep 2, 2026
Merged

feat(routes-b): implement DELETE /api/routes-b/email-suppressions/[id]#1371
davedumto merged 1 commit into
davedumto:mainfrom
QueenColly:feature/1133-delete-email-suppression

Conversation

@QueenColly

Copy link
Copy Markdown
Contributor

Summary
This PR implements the DELETE /api/routes-b/email-suppressions/[id] endpoint under the routes-b convention. It handles secure deletion of email suppressions with appropriate request validation, ownership checks, and structured error envelopes.

Changes Proposed

Created route handler at app/api/routes-b/email-suppressions/[id]/route.ts.

Implemented the DELETE method with structured response and error envelopes matching existing route conventions.

Added corresponding unit tests covering success states and validation error handling.

Acceptance Criteria Checklist

[x] Handler implemented for the DELETE method at the documented path.

[x] Validation and error envelopes match existing routes conventions.

[x] Unit tests pass in CI.

Closes #1133

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

@QueenColly is attempting to deploy a commit to the david's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@QueenColly Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@davedumto
davedumto merged commit 8ff9eff into davedumto:main Sep 2, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[routes-b] DELETE /api/routes-b/email-suppressions/[id] - remove an email suppression

2 participants