# Push Notification Delete Lost Message

Deletes push notification messages currently stored on the device.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTlA1suFa5N48x_83N%2Fuploads%2FMdB0W8fT88XFScV3BzAO%2FTodos%20menos%20IWindows%20CE%20E%20Mobile.PNG?alt=media\&token=5fc39b8a-2683-42aa-aad9-ad7ff8168dc2)

### Parameters

* **Delete** - The message or messages to delete. It can be one off:
  * 1 - **Next Message** - Deletes the most recent message.
  * 2 - **Specify Id** - Deletes the message with the specified ID.
  * 3 - **All Messages** - Deletes all the messages.
* **Message ID** - The ID of the message to be deleted when the Delete parameter is set to 1 - Next Message.

{% hint style="info" %}
If a message is received and your application is not running, the O.S. will make the appropriate display of the message, and if you enabled the **"Save messages when application is not active"** option in your **Project Properties**, it will be saved locally on the device. You can use **"Push Notification ... Lost ..."** actions to retrieve the messages that where received while your application was not active.
{% endhint %}
