sendmock push clear
Delete every push notification, or one project's.
sendmock push clear [flags]
| Flag | Type | Description |
|---|---|---|
| --project <project> | string | Only this project's notifications (its key); every project's when not set.Example: shop |
| --device-token <device-token> | string | Only notifications to this device token.Example: dQw4w9WgXcQ:APA91bE1 |
| --provider <provider> | string | fcm, expo or onesignal.One of: fcm, expo, onesignalExample: fcm |
| --status <status> | string | sent or failed.One of: sent, failedExample: sent |
| --yes | boolean | Confirms a destructive command; without it the command stops. |
Example
sendmock push clear --project shop --device-token dQw4w9WgXcQ:APA91bE1 --yes
Output with --json: nothing. Exit codes: 0, 1, 2.
- API
- DELETE
/api/v1/push - MCP tool
sendmock_push_delete_all- In the app
- Push > Clear all