# ExpungeResult

The ExpungeResult type of the TypeScript SDK, which labels.expunge take or answer.

```ts
type ExpungeResult = {
  expunged: ExpungedUID[]
  messagesExpunged: number
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `expunged` | [`ExpungedUID[]`](/docs/sdks/typescript/types/expunged-uid) | List of expunged message UIDs and IDs |
| `messagesExpunged` | `number` | Total count of messages removed from this label |

## Used by

| Method | What it does |
| --- | --- |
| [`labels.expunge`](/docs/sdks/typescript/labels/expunge) | Expunge deleted messages from a label |
