# Ignore an email bounce

`PATCH https://api.cademi.com.br/api/v3/reports/email-bounces/{bounce_id}`

Operation ID: `reports.email_bounces.update` · API v3

Marks an email bounce as ignored so the user's address can receive email from the account again. Requires the `email_bounces.ignore` permission.

The only accepted value is `ignored: true`. This change cannot be reverted through the API.

To make the update conditional, send the bounce's current revision in the `If-Match` header. If the bounce has changed since that revision, the update is rejected.

Required permissions: `email_bounces.ignore`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `bounce_id` | path | string | yes |  |

## Request body

Content type: `application/json`, required.

| Field | Type | Required | Description |
|---|---|---|---|
| `ignored` | boolean, one of `true` | yes |  |

## Responses

### 200

Returns the email bounce marked as ignored.

Body: `data`: EmailBounce.

Fields of EmailBounce:

| Field | Type | Required | Description |
|---|---|---|---|
| `email` | string or null | no | Returned only when the credential has the users.read_personal permission; otherwise the key is omitted. |
| `id` | string | yes | Public ID of the bounce record, prefixed with bnc_. |
| `ignored` | boolean | yes |  |
| `kind` | string, one of `bounced`, `dropped`, `spam`, `deferred` | yes |  |
| `last_bounce_at` | string (date-time) | yes |  |
| `object` | string, one of `email_bounce` | yes |  |
| `revision` | string | yes |  |
| `user_id` | string or null | yes | Public ID of the affected user, prefixed with usr_. |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The email bounce was not found or is not accessible with the current credentials.

Body: Error.

### 412

The email bounce has changed since the supplied revision was retrieved.

Body: Error.

### 422

The request body or query parameters failed validation.

Body: ValidationFailed.

Full schema: https://cademi.dev/openapi/v3.json
