At the moment it's not possible to archive the notification via API.
Docs: https://docs.novu.co/api-reference/subscribers/update-notifications-state
Only available states are "read" | "seen" | "unread" | "unseen".
However, the useNotifications() hook allows this via archive() method. Docs: https://docs.novu.co/platform/sdks/react/hooks/use-notifications
Ideally, I would like to have same feature parity in @novu/api.
- I would like to use
novu.subscribers.notifications.feed() (or something similar) and get the same data structure as in useNotifications() hook
- Have an endpoint where I can archive, snooze and etc. a notification