Skip to content

fix(alerts): Delete all timestamps when omitted#6528

Closed
an8kk wants to merge 1 commit into
keephq:mainfrom
an8kk:fix/delete-alert-all-timestamps
Closed

fix(alerts): Delete all timestamps when omitted#6528
an8kk wants to merge 1 commit into
keephq:mainfrom
an8kk:fix/delete-alert-all-timestamps

Conversation

@an8kk
Copy link
Copy Markdown

@an8kk an8kk commented May 25, 2026

Allow alert delete requests to omit lastReceived and mark every timestamp for the fingerprint as deleted.

This keeps the existing single timestamp behavior when lastReceived is provided while supporting full alert deletion through one API call. When lastReceived is omitted, the route now fetches all alert history for the fingerprint without a result cap and applies the delete enrichment to each timestamp.

Fixes #2817

Allow alert delete requests to omit lastReceived and mark every timestamp for the fingerprint as deleted. Keep the existing single timestamp behavior when lastReceived is provided.

Fixes #2817
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 25, 2026
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 25, 2026

CLA assistant check
All committers have signed the CLA.

@dosubot dosubot Bot added the API API related issues label May 25, 2026
@an8kk an8kk closed this by deleting the head repository Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API API related issues size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[➕ Feature]: Delete Alerts using an API for all timestamps altogether

2 participants