Delete notifications
delete_messagesRemove ntfy notifications and cancel scheduled ones not yet delivered. Call once to receive a confirmation token, then call again with it to complete the deletion.
Instructions
Deletes notifications and cancels scheduled ones that have not been delivered yet. Requires a confirmation token: call once without it to receive the token, then again with it.
"Deleted" means subscribers are told to remove their copy. ntfy publishes a message_delete event and does not remove anything from its own cache, so list_messages and get_message still return the message afterwards, until it expires. Do not read that as the delete having failed, and do not delete again: the delete event is in the list too, alongside the message it refers to.
Needs ntfy 2.16.0 or newer. Against an older server every id comes back with ok:false inside a result that is not an error — check the per-id results rather than only whether the call succeeded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Their topic. Defaults to the first NTFY_TOPICS entry. | |
| sequence_ids | Yes | Ids of the notifications to delete. | |
| confirm_token | No | The token from this tool’s previous, unconfirmed response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| results | Yes |