mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #87] Add API Endpoint to Delete Unused Vouchers #45
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @berg-maia on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/87
Originally assigned to: @glenndehaan on GitHub.
The feature
First of all, thanks for this amazing project.
I would like to suggest adding an API endpoint that allows for the deletion of previously generated vouchers that were never used.
This functionality would help keep the system clean by removing old, unused vouchers — for example, those generated earlier in the day but never redeemed.
@glenndehaan commented on GitHub (Aug 19, 2025):
Hi @berg-maia,
Thank you for the kind words.
I will add this to the v8 planning since this does require some small rework.
Kind regards,
Glenn de Haan
@koles142 commented on GitHub (Aug 27, 2025):
Hi, can you add automatic remove expired code in the panel for clean view?
@glenndehaan commented on GitHub (Aug 27, 2025):
Hi @berg-maia,
This feature is now available as a task within the just released version 8.0.0 (https://github.com/glenndehaan/unifi-voucher-site/releases/tag/8.0.0).
Please ensure to read the migration documentation before upgrading.
Then enable the feature like this:
@koles142 This feature was also introduced as a task and can be enabled like this: