[GH-ISSUE #1157] Add option to delete a notification #818

Closed
opened 2026-05-07 00:27:45 +02:00 by BreizhHardware · 4 comments

Originally created by @iptvcld on GitHub (Jul 21, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1157

I would like to request a new feature that would allow us to have an actionable notification deleted upon a success button press.

For example, I send a notification that says my kitchen light was left on with 2 buttons. turn off and leave on. Then if I went to press any of the 2 http request buttons and it’s a 200ok that notification should be removed/deleted.

Originally created by @iptvcld on GitHub (Jul 21, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1157 I would like to request a new feature that would allow us to have an actionable notification deleted upon a success button press. For example, I send a notification that says my kitchen light was left on with 2 buttons. turn off and leave on. Then if I went to press any of the 2 http request buttons and it’s a 200ok that notification should be removed/deleted.
BreizhHardware 2026-05-07 00:27:45 +02:00
Author
Owner

@bit-dancer commented on GitHub (Oct 3, 2024):

+1, I need this too

<!-- gh-comment-id:2391747538 --> @bit-dancer commented on GitHub (Oct 3, 2024): +1, I need this too
Author
Owner

@skafau commented on GitHub (Mar 14, 2025):

Same here!

My use case is the following:

I have a personal reminder app to which multiple clients are subscribed to. When interacting with the notification on 1 client, it should be removed/revoked on all other clients. E.g. when clicking on the notification on a desktop pc, it should be automatically removed on my mobile and vice versa.

Also:

  • The notifications shall be revokable from my server w/o any direct user interaction with any notification.
    E.g.: The notification has been sent to all clients. I don't click on any of the notifications but open the reminder directly within my web app -> All notifications shall be revoked.
  • If a client is offline whilst the notification is being sent and the notification is revoked before it comes online, the notification shall never appear on the client.

Some more context:

ATM I'm using web push in combination with a PWA. This works technically and allowed me to implement all the features I need (revokability etc.). However, notifications on Android are very unreliable. Some appear an hour after they have been sent by the server, some don't ever appear at all. I'm therefore looking for alternative ways to notify my clients.

<!-- gh-comment-id:2725753325 --> @skafau commented on GitHub (Mar 14, 2025): Same here! My use case is the following: I have a personal reminder app to which multiple clients are subscribed to. When interacting with the notification on 1 client, it should be removed/revoked on all other clients. E.g. when clicking on the notification on a desktop pc, it should be automatically removed on my mobile and vice versa. Also: - The notifications shall be revokable from my server w/o any direct user interaction with any notification. E.g.: The notification has been sent to all clients. I don't click on any of the notifications but open the reminder directly within my web app -> All notifications shall be revoked. - If a client is offline whilst the notification is being sent and the notification is revoked before it comes online, the notification shall never appear on the client. Some more context: ATM I'm using web push in combination with a PWA. This works technically and allowed me to implement all the features I need (revokability etc.). However, notifications on Android are very unreliable. Some appear an hour after they have been sent by the server, some don't ever appear at all. I'm therefore looking for alternative ways to notify my clients.
Author
Owner

@rathmannm commented on GitHub (Apr 9, 2025):

This is what currently stops me from using ntfy!

<!-- gh-comment-id:2789737265 --> @rathmannm commented on GitHub (Apr 9, 2025): This is what currently stops me from using ntfy!
Author
Owner

@binwiederhier commented on GitHub (Feb 2, 2026):

Notifications can now be deleted: https://docs.ntfy.sh/publish/#updating-deleting-notifications

<!-- gh-comment-id:3832549572 --> @binwiederhier commented on GitHub (Feb 2, 2026): Notifications can now be deleted: https://docs.ntfy.sh/publish/#updating-deleting-notifications
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#818
No description provided.