> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devmob.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# notification_recipient.deleted

> Evento emitido após remover uma notificação da visão do destinatário

`notification_recipient.deleted` é emitido depois da remoção lógica de um [NotificationRecipient](/data-modelling/communication/notification-recipient).

## Detalhes do Evento

| Propriedade    | Valor                                                   |
| -------------- | ------------------------------------------------------- |
| **Tipo**       | `notification_recipient.deleted`                        |
| **Origem**     | Remoção lógica de NotificationRecipient                 |
| **Publicação** | Após commit do recipient atualizado                     |
| **Quando**     | O destinatário remove uma notificação do próprio inbox. |

## Handlers

| Handler                    | Responsabilidade                   | Dados usados         | Execução    |
| -------------------------- | ---------------------------------- | -------------------- | ----------- |
| Nenhum handler obrigatório | Disponível para projeções futuras. | `identifier`, `data` | Assíncrona. |

## Payload

| Campo        | Tipo                    | Descrição                              |
| ------------ | ----------------------- | -------------------------------------- |
| `identifier` | `UUID`                  | Identificador do NotificationRecipient |
| `data`       | `NotificationRecipient` | Entidade removida logicamente          |

## Regras dos handlers

* Handlers não rodam na transação que removeu o recipient.
* Falha em handler não desfaz a remoção lógica.
* Cada handler deve ser idempotente.

## Exemplo

```json theme={null}
{
  "type": "notification_recipient.deleted",
  "identifier": "0197fa01-d2e2-70df-8fd3-9e22a345a196",
  "data": {
    "notificationRecipientId": "0197fa01-d2e2-70df-8fd3-9e22a345a196",
    "deletedAt": "2026-07-04T16:12:00.000Z",
    "deletedBy": "0197a805-0910-7eb2-bae7-90a13df2a9b2"
  }
}
```
