# POST /v1/tracking-opt-outs/delete

Remove a not-tracked address

Takes an address off the server’s list, so its mail can be tracked again. Remove an entry whose source is recipient only after new consent. A POST, because the address travels in the body and never in a URL. An entry an erasure reduced is found by its address too.

Takes a server key (`sk_…`, or `sk_test_…` on a test server) as a bearer token. TypeScript: `sendora.trackingOptOuts.delete({ address })`. Python: `sendora.tracking_opt_outs.delete(address=...)`. PHP: `$sendora->trackingOptOuts->delete(address: $address)`. Java: `sendora.trackingOptOuts().delete(address)`.

## Request body

- `address` (string (email), required): The address to track again. An erased entry is found by it too.

Example:

```json
{
  "address": "anna@example.com"
}
```

## Responses

### 204 Removed. The body is empty.

## Errors

Every error answers `error`, the code, and `message`, a sentence for a person. A code that adds fields is shown in full below the table.

| Code | Status | Meaning |
| --- | --- | --- |
| `invalid_request` | 400 | The body, the query or a header does not match what the route takes. |
| `unauthorized` | 401 | The key is missing, malformed or revoked. |
| `wrong_token_kind` | 403 | The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes. |
| `not_for_connections` | 403 | A connected app called an operation that no tool of the MCP server calls. An API key can. |
| `read_only_connection` | 403 | A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting. |
| `test_server_only` | 403 | A connected app may create a secret, or do what cannot be undone, on a test server only. |
| `not_found` | 404 | No such not-tracked address of this server. |

Headers sent with an error:

- `WWW-Authenticate` ("Bearer") on 401: Always Bearer: send the key as Authorization: Bearer <key>.

### `invalid_request`

- `issues` (array of object): One entry per invalid field; absent when a header is wrong.
  - `path` (string, required): The field, dotted, such as to.0.email; empty when the whole body is wrong.
  - `message` (string, required)

Example:

```json
{
  "error": "invalid_request",
  "message": "The request is invalid: to.0: Invalid email address",
  "issues": [
    {
      "path": "to.0",
      "message": "Invalid email address"
    }
  ]
}
```
